]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/optimize_functions.php
Refback will be payed now (user cannot setup currently)
[mailer.git] / inc / libs / optimize_functions.php
index b4f4a742fb651b4c99c782c9f3f5f17995428c09..cefbd46fa43f3eb5bac8f5f662cce87ab056b11d 100644 (file)
  ************************************************************************/
 
 // 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);
 }
+
 //
 // Part taken from admin optimize module of PHPNuke (http://www.phpnuke.org)
 //