From fdd8e7cb7b2c66dd286707c4552e1466139e448e 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 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; }