]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-logout.php
Cookie code removed, rewritten, internal URLs are now relative (see LOAD_URL()),...
[mailer.git] / inc / modules / member / what-logout.php
index 00e83449b030e30e120f2be25314c790ea9e0956..3eaf9e7583a136495b0e1bffc7814c03cd7d1971 100644 (file)
@@ -40,20 +40,20 @@ if (!defined('__SECURITY')) {
 }
 
 // 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