X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-support.php;h=b8d6d897798c8180355d486193a12b8bb26bf028;hb=00ae6568ac0d8227c16613b32c200a362e7dd9d6;hp=d7ae7b2853ce7811e641676e7dc4e2b722007b43;hpb=44c5b87eca387e02d33b4c0e728920aeca2a9840;p=mailer.git diff --git a/inc/extensions/ext-support.php b/inc/extensions/ext-support.php index d7ae7b2853..b8d6d89779 100644 --- a/inc/extensions/ext-support.php +++ b/inc/extensions/ext-support.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); } @@ -129,11 +128,9 @@ case "update": // Update an extension default: // Do stuff when extension is loaded break; } + // Language file prefix $EXT_LANG_PREFIX = "support"; -// Extension is always active? -$EXT_ALWAYS_ACTIVE = "N"; - // ?>