All, except security block, include()/require() rewritten to own LOAD_INC()/LOAD_INC_...
[mailer.git] / inc / modules / admin / what-theme_check.php
index 9cff81bebef0cdcabed9858d75f960f9972ac0be..04a93543836571900ed1cbfa87193cadaac62332 100644 (file)
@@ -69,7 +69,7 @@ if (($response[sizeof($response) - 1] == "[EOF]") && ($response[0] != "[EOF]"))
                // Leave loop when data is invalid or EOF?
                if ((substr($value, 0, 6) == "theme-") && (substr($value, -4) == ".zip")) {
                        $name = substr($value, 6, -4);
-                       $file = sprintf("%sthemes/%s/theme.php", PATH, $name);
+                       $file = sprintf("%sthemes/%s/theme.php", constant('PATH'), $name);
                        $ver  = trim(substr($response[$idx + 3], 4));
 
                        // Load version