diff --git a/index.php b/index.php index 9f588e72..1caaf898 100644 --- a/index.php +++ b/index.php @@ -59,7 +59,7 @@ define("VERSION", 'trunk'); 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; }