X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-usr_online.php;h=063fbb761238fe1771bec44e20253e9d04fa2849;hb=2142149f3f72f1a2476f95a87937c044d63bbaf2;hp=e5952f873a693de278fc8f52a45a9ab8ed87317c;hpb=d0ab0382dd73638f0bc13a1a3d6f117ec11a203e;p=mailer.git diff --git a/inc/modules/admin/what-usr_online.php b/inc/modules/admin/what-usr_online.php index e5952f873a..063fbb7612 100644 --- a/inc/modules/admin/what-usr_online.php +++ b/inc/modules/admin/what-usr_online.php @@ -32,14 +32,13 @@ ************************************************************************/ // 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); } // Add description as navigation point -ADD_DESCR("admin", basename(__FILE__)); +ADD_DESCR("admin", __FILE__); if (EXT_IS_ACTIVE("online", true)) { @@ -85,22 +84,22 @@ if (EXT_IS_ACTIVE("online", true)) // Is a guest $uid = _IS_GUEST; } - OUTPUT_HTML ("