// redirection to new installer

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11640 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-12-22 16:53:23 +00:00
parent b74fec078e
commit 500d67ef1c
+3 -3
View File
@@ -50,9 +50,9 @@ if(!headers_sent())
if (!file_exists(dirname(__FILE__).'/settings.inc.php'))
{
$dir = ((is_dir($_SERVER['REQUEST_URI']) OR substr($_SERVER['REQUEST_URI'], -1) == '/') ? $_SERVER['REQUEST_URI'] : dirname($_SERVER['REQUEST_URI']).'/');
if(!file_exists(dirname(__FILE__).'/../install'))
if(!file_exists(dirname(__FILE__).'/../install-new'))
die('Error: \'install\' directory is missing');
header('Location: install/');
header('Location: install-new/');
exit;
}
require_once(dirname(__FILE__).'/settings.inc.php');
@@ -184,4 +184,4 @@ Context::getContext()->smarty = $smarty;
/* Possible value are true, false, 'URL'
(for 'URL' append SMARTY_DEBUG as a parameter to the url)
default is false for production environment */
define('SMARTY_DEBUG_CONSOLE', false);
define('SMARTY_DEBUG_CONSOLE', false);