]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_bank_package.php
Fix in CREATE_EXTENSION_DEACTIVATION_TASK() and coding-style updated
[mailer.git] / inc / modules / admin / what-list_bank_package.php
index 6888e9b4a7fcea81880a1c9a0622e84d27891c46..250ed1752775b66fee7ec35b0e9fb712c5d87742 100644 (file)
  ************************************************************************/
 
 // Some security stuff...
-if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin())) {
+if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 } // END - if
 
 // Add description as navigation point
-ADD_DESCR("admin", basename(__FILE__));
+ADD_DESCR("admin", __FILE__);
 
 // Check if there is enougth selected
 $show = true;