diff --git a/index.php b/index.php index 425af312..d0b01274 100644 --- a/index.php +++ b/index.php @@ -59,7 +59,7 @@ define("VERSION", '2.3-rc4'); define("SCORE_VERSION", 's2hack/'.VERSION); define("COOKIE_PREFIX", 'shm'); -if(!file_exists("config.php")) { +if(empty($database_dsn) && !file_exists("config.php")) { header("Location: install.php"); exit; }