X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-profile.php;h=9e4854d6c63774f08b9e182f8f8ff3e3c0fe0ff8;hb=8401d620295d27ad2c7804da2a593bba1ac6ff47;hp=6173b778f12d403bb4aafb75c73181a2157b4c71;hpb=43885129ac24cee5545a8a5ad51e90aa182fdf46;p=mailer.git diff --git a/inc/extensions/ext-profile.php b/inc/extensions/ext-profile.php index 6173b778f1..9e4854d6c6 100644 --- a/inc/extensions/ext-profile.php +++ b/inc/extensions/ext-profile.php @@ -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); } @@ -49,7 +48,7 @@ $EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0. switch ($EXT_LOAD_MODE) { -case "register": // Do stuff when installtion is running (modules.php?module=admin&action=login is called) +case "register": // Do stuff when installation is running (modules.php?module=admin&action=login is called) // SQL commands to run $SQLs[] = ""; break; @@ -128,11 +127,6 @@ default: // Do stuff when extension is loaded } break; } -// Language file prefix -$EXT_LANG_PREFIX = "profile"; - -// Extension is always active? -$EXT_ALWAYS_ACTIVE = "N"; // ?>