]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-payout.php
Security line in all includes changed
[mailer.git] / inc / modules / member / what-payout.php
index 7c45d6a89ebc61c02d1197cc429af94140745e86..496ca955f7987cc0ce35858b117557c03971bce0 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) {
+if (!defined('__SECURITY')) {
        // Don't call this directly!
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);