X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-admintheme1.php;h=1118d051923efd0186f9994188278b0353fea2b5;hb=36a31ecf3137283ddd5d7aad121bacf3df54e2e1;hp=53c0a64387d965e5a0c37ad574df6845155c8b35;hpb=307a4e11763f0914e73dc756b219356e1c29ab25;p=mailer.git diff --git a/inc/extensions/ext-admintheme1.php b/inc/extensions/ext-admintheme1.php index 53c0a64387..1118d05192 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); }