From ef0158568f6d4f8a3b298615f5033006d7db7fcb Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 15 May 2010 16:24:11 +0100 Subject: [PATCH] hack to allow hardcoded database_dsn in hiphop --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }