hack to allow hardcoded database_dsn in hiphop

This commit is contained in:
Shish 2010-05-15 16:24:11 +01:00
parent 23216d7549
commit ef0158568f

View file

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