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);