]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-support.php
Security line in all includes changed
[mailer.git] / inc / extensions / ext-support.php
index d7ae7b2853ce7811e641676e7dc4e2b722007b43..ccfe1974678432912e4a2d89421e2e8a26e8cb84 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);
 }