]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-sponsor.php
More queries now depends on UNIX_TIMESTAMP() SQL function, wrong index in autopurge...
[mailer.git] / inc / modules / guest / action-sponsor.php
index 52d06df863f9e511dc9f31acbfefecff621199ad..4f7c9b526e5f10ab4d5cd3f8da1e39132d598652 100644 (file)
@@ -31,8 +31,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
-{
+if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
        require($INC);
 }