]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-surfbar_stats.php
Another column fix
[mailer.git] / inc / modules / member / what-surfbar_stats.php
index 0b6800a36d8ba4b457fbedbdbb3baf5a89b12c40..41110ed24bf6a854b3064fc683900d9cb591b9b0 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/10/2004 *
+ * MXChange v0.2.1                                    Start: 09/10/2008 *
  * ================                             Last change: 09/10/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  ************************************************************************/
 
 // 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);
-} elseif (!IS_LOGGED_IN()) {
+} elseif (!IS_MEMBER()) {
        LOAD_URL(URL."/modules.php?module=index");
 }