]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-profile.php
More fixes for installation phase. Thanks to AndreasJung
[mailer.git] / inc / extensions / ext-profile.php
index 6173b778f12d403bb4aafb75c73181a2157b4c71..c8da12066b511161234fdd72a55a64cb1fbf3265 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);
 }
@@ -131,8 +130,5 @@ default: // Do stuff when extension is loaded
 // Language file prefix
 $EXT_LANG_PREFIX = "profile";
 
-// Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
-
 //
 ?>