]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-setup.php
- Surfbar extended with dynamic percentage (only config)
[mailer.git] / inc / modules / admin / action-setup.php
index 2e62585b9539a7674e064f26babd3f4e4bfeb0d3..7f28d820d7c9c3afd673749813c848042dc94075 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_exists($INC)) && (is_readable($INC))) {
        // Ok, we finally load the admin action module
        include($INC);
 } else {