Constant PATH rewritten, some parts rewritten to use INCLUDE_READABLE()
[mailer.git] / inc / modules / admin / what-theme_import.php
index 045e925e2bb630f89d9d7a9b75727773edbf22fe..df118063b96f88e5eca1c0b6b987cdc35410ed37 100644 (file)
@@ -90,7 +90,7 @@ $THEMES = array(
 );
 
 // Read directory "themes"
-$handle = opendir(PATH."theme/") or mxchange_die("Cannot read themes dir!");
+$handle = opendir(constant('PATH')."theme/") or mxchange_die("Cannot read themes dir!");
 while ($dir = readdir($handle)) {
        // Construct absolute theme.php file name
        $INC = sprintf("theme/%s/theme.php", $dir);