]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-extras.php
More time() in SQL queries replace with UNIX_TIMESTAMP()
[mailer.git] / inc / modules / member / action-extras.php
index 7cd95faabd5c686285da3c2481aa0e15cdc3f6ae..4c5e8d6e4fccfb140f33aa1a9d1834714e506dce 100644 (file)
@@ -52,14 +52,12 @@ ADD_DESCR("member", basename(__FILE__));
 
 // Load the include file
 $INC_WHAT = sprintf("%sinc/modules/member/what-%s.php", PATH, $GLOBALS['what']);
-if (file_exists($INC_WHAT))
-{
+if (FILE_READABLE($INC_WHAT)) {
        // Ok, we finally load the member action module
        include_once($INC_WHAT);
-}
- else
-{
+} else {
        ADD_FATAL(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2);
 }
+
 //
 ?>