[*] Installer : added cookie mode instead of session for the installer

This commit is contained in:
Damien Metzger committed 2013-06-13 15:28:16 +02:00
1 parent fafb7fdef7
commit 534c10562f
8 files changed
+77 -42

No files matched your search

+3 -3
View File
@@ -53,9 +53,6 @@ require_once(dirname(__FILE__).'/settings.inc.php');
require_once(dirname(__FILE__).'/autoload.php');
if (Tools::isPHPCLI())
Tools::argvToGET($argc, $argv);
if (_PS_DEBUG_PROFILING_)
{
include_once(_PS_TOOL_DIR_.'profiling/Controller.php');
@@ -65,6 +62,9 @@ if (_PS_DEBUG_PROFILING_)
include_once(_PS_TOOL_DIR_.'profiling/Tools.php');
}
if (Tools::isPHPCLI())
Tools::argvToGET($argc, $argv);
/* Redefine REQUEST_URI if empty (on some webservers...) */
if (!isset($_SERVER['REQUEST_URI']) || empty($_SERVER['REQUEST_URI']))
{