diff --git a/html/index.php b/html/index.php index 7ffeef768..475b9aa84 100644 --- a/html/index.php +++ b/html/index.php @@ -134,8 +134,8 @@ * */ - -if (! file_exists('..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'config.inc.php') ) +// -- if there is not config.inc.php file then redirect to install.php +if ( ! file_exists('..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'config.inc.php') ) { echo << EOF; - - header("Location: install.php"); - exit(0); }