Fixes for sql_patches removal vs. password reset of admin
[mailer.git] / inc / modules / member / action-main.php
index a62393aa562f178ce48a5193ca67585390411358..d3c82ec007650b0d8c30019a3f415c62c5c00403 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