X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_rewrite.php;h=f2f9ef81347db50c71c37401965629b467370900;hb=7076b0bf4f326c0dcb87daa0e02e15b0f42e619e;hp=a4761c9d2779ed319d7438b7c86ffc203a575fbf;hpb=dbeb4ef1dc2e59d0c6bfab9d9666cdfa515f58e7;p=mailer.git diff --git a/inc/modules/admin/what-config_rewrite.php b/inc/modules/admin/what-config_rewrite.php index a4761c9d27..f2f9ef8134 100644 --- a/inc/modules/admin/what-config_rewrite.php +++ b/inc/modules/admin/what-config_rewrite.php @@ -32,13 +32,13 @@ ************************************************************************/ // Some security stuff... -if ((!defined('__SECURITY')) || (!is_admin())) { +if ((!defined('__SECURITY')) || (!IS_ADMIN())) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } // Add description as navigation point -ADD_DESCR("admin", basename(__FILE__)); +ADD_DESCR("admin", __FILE__); if (isset($_POST['ok'])) { // Generate string