]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-sponsor.php
Unlock of booked URLs in surfbar added, fix for URL-encoded links in loader module
[mailer.git] / inc / modules / admin / action-sponsor.php
index b4cbba35c9187ff151e9bd89a39ed68a06d291ce..fcb23d131ddae7cb6562886c117b9fd9e6f6fb1e 100644 (file)
@@ -41,8 +41,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 {