]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/sponsor_functions.php
Surfbar admin stats added (dummy), FILE_READABLE() added
[mailer.git] / inc / libs / sponsor_functions.php
index 019eac79ff0ca47acd623e1fdd47d6905a4aebd1..7ee98e31188eac9c50d7f94b95006bdeed4f4741 100644 (file)
@@ -423,7 +423,7 @@ function GENERATE_SPONSOR_CONTENT($what)
        global $HTTP_POST_VARS, $_GET, $CONFIG;
        $OUT = "";
        $FILE = sprintf("%sinc/modules/sponsor/%s.php", PATH, $what);
-       if ((file_exists($FILE)) && (is_readable($FILE))) {
+       if (FILE_READABLE($FILE)) {
                // Every sponsor action will output nothing directly. It will be written into $OUT!
                require_once($FILE);
        } else {