Fix updating minimized css bug

This commit is contained in:
Miraty 2020-03-15 21:17:49 +01:00
parent 0bbbbcbf77
commit cf444dab3f

View File

@ -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");