X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fsponsor_functions.php;h=7ee98e31188eac9c50d7f94b95006bdeed4f4741;hp=019eac79ff0ca47acd623e1fdd47d6905a4aebd1;hb=4ef4c88fc481335dc0631b223111c15a84cccb51;hpb=ea2a5e6a7838127d2f9dec02ba68ec575188528b diff --git a/inc/libs/sponsor_functions.php b/inc/libs/sponsor_functions.php index 019eac79ff..7ee98e3118 100644 --- a/inc/libs/sponsor_functions.php +++ b/inc/libs/sponsor_functions.php @@ -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 {