Turned off modified time checks for CSS files
There's a note in the code as to why
This commit is contained in:
parent
80e6e35191
commit
640727c554
2 changed files with 24 additions and 10 deletions
|
@ -141,9 +141,18 @@ class Dynamic extends Object
|
|||
{
|
||||
$reference = $original_reference;
|
||||
|
||||
if (is_writable($path)
|
||||
&& (!file_exists($minified_filename) || filemtime($original_filename) > filemtime($minified_filename))
|
||||
&& $this->config->pickles['minify'] === true)
|
||||
/**
|
||||
* Disabled the sanity checks because I'm using LESS's @import for
|
||||
* some hackery and it's not validating as true due to the imported
|
||||
* file not being interrogated. Should be okay as minifying is now
|
||||
* a subjective action that's turned on in the config due to the
|
||||
* issues I had in production with it.
|
||||
*
|
||||
* if (is_writable($path)
|
||||
* && (!file_exists($minified_filename) || filemtime($original_filename) > filemtime($minified_filename))
|
||||
* && $this->config->pickles['minify'] === true)
|
||||
*/
|
||||
if ($this->config->pickles['minify'] === true)
|
||||
{
|
||||
// Compiles LESS to CSS before minifying
|
||||
if ($less)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue