]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-setup.php
More time() in SQL queries replace with UNIX_TIMESTAMP()
[mailer.git] / inc / modules / admin / action-setup.php
index 2e62585b9539a7674e064f26babd3f4e4bfeb0d3..f9b44e6b0b8ca84674c202f61a58ac47b8abcdd5 100644 (file)
@@ -42,8 +42,8 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))
 ADD_DESCR("admin", basename(__FILE__));
 
 // Load the include file
-$INC = sprintf(PATH."inc/modules/admin/what-%s.php", $GLOBALS['what']);
-if (file_exists($INC)) {
+$INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, $GLOBALS['what']);
+if (FILE_READABLE($INC)) {
        // Ok, we finally load the admin action module
        include($INC);
 } else {