]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-mailid.php
Refback extension in alpha phase finished, users can give refback to all refs in...
[mailer.git] / inc / extensions / ext-mailid.php
index 67eff54208a7e113725ef31cb921520f08e2804f..be23ece91c7040d9759ddbe1655621afe6573196 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);
 }
@@ -243,8 +242,5 @@ default: // Do stuff when extension is loaded
 // Language file prefix
 $EXT_LANG_PREFIX = "mailid";
 
-// Extension is always active?
-$EXT_ALWAYS_ACTIVE = 'N';
-
 //
 ?>