X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-admintheme1.php;h=4780f0102982ac03d2e4029217a6a0b6b31f9b52;hb=524c58a61b0a074fed8d7c9dc2f9ddab7f653595;hp=53c0a64387d965e5a0c37ad574df6845155c8b35;hpb=307a4e11763f0914e73dc756b219356e1c29ab25;p=mailer.git diff --git a/inc/extensions/ext-admintheme1.php b/inc/extensions/ext-admintheme1.php index 53c0a64387..4780f01029 100644 --- a/inc/extensions/ext-admintheme1.php +++ b/inc/extensions/ext-admintheme1.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); } @@ -88,8 +87,5 @@ default: // Do stuff when extension is loaded // Language file prefix $EXT_LANG_PREFIX = "admintheme"; -// Extension is always active? -$EXT_ALWAYS_ACTIVE = "N"; - // ?>