From 500d67ef1cc3f7f3a1445d2bd28d573141dec87b Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Thu, 22 Dec 2011 16:53:23 +0000 Subject: [PATCH] // redirection to new installer git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11640 b9a71923-0436-4b27-9f14-aed3839534dd --- config/config.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.inc.php b/config/config.inc.php index 1d7e58792..4b9ff2473 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -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); \ No newline at end of file +define('SMARTY_DEBUG_CONSOLE', false);