From cf444dab3f1c2ff555b04d9277434eaa4aa74727 Mon Sep 17 00:00:00 2001 From: Miraty Date: Sun, 15 Mar 2020 21:17:49 +0100 Subject: [PATCH] Fix updating minimized css bug --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 7896cfd..845dce8 100755 --- a/index.php +++ b/index.php @@ -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");