// 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user