// fix retrocompat global currentIndex
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12999 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -41,6 +41,8 @@ try
|
||||
Tools::redirectAdmin('index.php?controller=AdminLogin&redirect='.$_SERVER['REQUEST_URI']);
|
||||
|
||||
// Set current index
|
||||
// @deprecated global will be removed in 1.6
|
||||
global $currentIndex; // retrocompatibility;
|
||||
$currentIndex = $_SERVER['SCRIPT_NAME'].(($controller = Tools::getValue('controller')) ? '?controller='.$controller: '');
|
||||
|
||||
if ($back = Tools::getValue('back'))
|
||||
|
||||
Reference in New Issue
Block a user