// Routes for dispatcher (part 4) + some fix

This commit is contained in:
rMalie committed 2011-08-01 13:28:02 +00:00
1 parent 83e1aa387d
commit 66eab15a18
21 files changed
+298 -264

No files matched your search

+1 -2
View File
@@ -34,8 +34,7 @@ if (isset($_GET['logout']))
if (!$cookie->isLoggedBack())
{
$destination = substr($_SERVER['REQUEST_URI'], strlen(dirname($_SERVER['SCRIPT_NAME'])) + 1);
Tools::redirectAdmin('login.php'.(empty($destination) || ($destination == 'index.php?logout') ? '' : '?redirect='.$destination));
Tools::redirectAdmin('login.php?redirect='.$_SERVER['REQUEST_URI']);
}
// Set current index