// redirection to new installer

This commit is contained in:
mMarinetti
2011-12-22 16:53:23 +00:00
parent 22cd243d2f
commit 66465ecd43
+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);