]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-extras.php
More fixes for surfbar, SQL_QUERY_ESC() now escapes zeros
[mailer.git] / inc / modules / member / action-extras.php
index e84cc7836d41d0dc11feacc1caf8af8169e30c3f..7cd95faabd5c686285da3c2481aa0e15cdc3f6ae 100644 (file)
@@ -39,7 +39,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 }
  elseif (!IS_LOGGED_IN())
 {
-       LOAD_URL(URL."/modules.php?module=index");
+       LOAD_URL("modules.php?module=index");
 }
  elseif ($BLOCK_MODE)
 {
@@ -51,7 +51,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 ADD_DESCR("member", basename(__FILE__));
 
 // Load the include file
-$INC_WHAT = sprintf(PATH."inc/modules/member/what-%s.php", $GLOBALS['what']);
+$INC_WHAT = sprintf("%sinc/modules/member/what-%s.php", PATH, $GLOBALS['what']);
 if (file_exists($INC_WHAT))
 {
        // Ok, we finally load the member action module