Fix updating minimized css bug
This commit is contained in:
parent
0bbbbcbf77
commit
cf444dab3f
@ -112,7 +112,7 @@ if (badQuery()) {
|
||||
// If style.min.css exists
|
||||
if (file_exists("style.min.css"))
|
||||
// And if it's older than the theme config
|
||||
if (filemtime("themes/" . $theme . "/theme.php") > filemtime("style.min.css"))
|
||||
if (filemtime("themes/" . $theme . "/theme.php") < filemtime("style.min.css"))
|
||||
// Then delete it
|
||||
unlink("style.min.css");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user