}
// Base URL for redirection (both cases)
-$URL = URL."/modules.php?module=index";
+$URL = "modules.php?module=index";
if (destroy_user_session()) {
// Remove theme cookie as well
set_session("mxchange_theme", "");
// Logout completed
- $URL .= "&msg=".CODE_LOGOUT_DONE;
+ $URL .= "&msg=".CODE_LOGOUT_DONE;
// Destroy session here
@session_destroy();
} else {
// Cannot logout! :-(
- $URL .= "&msg=".CODE_LOGOUT_FAILED;
+ $URL .= "&msg=".CODE_LOGOUT_FAILED;
}
// Load the URL