X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=testing%2FMCTXWeb%2Fpublic_html%2Fusers%2Flogout.php;h=e722ba727d4973b5d66ab38163bb1e20cfd6fe0b;hb=c93b3c1b0dc67d03e4f60d99785929b8c319ddb6;hp=728a294ea21560ae1161e29d9e9d1024603aabfa;hpb=65a6478cf9ddbca30a93a843ddb29f3eb744e5f7;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/users/logout.php b/testing/MCTXWeb/public_html/users/logout.php index 728a294..e722ba7 100644 --- a/testing/MCTXWeb/public_html/users/logout.php +++ b/testing/MCTXWeb/public_html/users/logout.php @@ -13,6 +13,7 @@ if(isUserLoggedIn()) $loggedInUser->userLogOut(); } +/* if(!empty($websiteUrl)) { $add_http = ""; @@ -26,10 +27,10 @@ if(!empty($websiteUrl)) die(); } else -{ - header("Location: http://".$_SERVER['HTTP_HOST']); +{*/ + header("Location: login.php");//http://".$_SERVER['HTTP_HOST']); die(); -} +/*}*/ ?>