install-new renamed to install-dev in files

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12728 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2012-01-26 17:29:50 +00:00
parent b67ec924c0
commit 9f7622fc6e
3 changed files with 4 additions and 5 deletions
+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-new'))
die('Error: \'install\' directory is missing');
header('Location: install-new/');
if (!file_exists(dirname(__FILE__).'/../install-dev'))
die('Error: "install" directory is missing');
header('Location: install-dev/');
exit;
}
require_once(dirname(__FILE__).'/settings.inc.php');