hack to allow hardcoded database_dsn in hiphop

This commit is contained in:
Shish 2010-05-15 16:24:11 +01:00
parent aad087cea8
commit fdd8e7cb7b

View File

@ -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;
}