I've been searching for 2 days now and I cant seem to find the solution to this. When setting up BrainCMS (with PlusEmu) on a local pc, the logout button works perfectly, however when I make the same exact hotel on my VPS the logout stalls the /me page and essentially just reloads it. This makes logout impossible unless you clear your cache. Has anyone come across this issue and figured it out? Thanks for the help!
Code for logout.php:
Code for logout.php:
Code:
<?php
session_destroy();
$_SESSION = array();
header('Location: '.$config['hotelUrl'].'/index');
?>