]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-payout.php
Security line in all includes changed
[mailer.git] / inc / extensions / ext-payout.php
index 6f7b2d71630da67a7836cea62f4e35f1c6e9cc16..dfaf38b4b9ffc2d23648278d62c6bc71373735c4 100644 (file)
@@ -32,8 +32,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);
 }