From: Alexander Kampmann Date: Tue, 10 Apr 2012 15:10:24 +0000 (+0200) Subject: fixed install bug X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64cf2d089a598e9b8c8d1964303f92676c12e9b9;p=friendica.git fixed install bug --- diff --git a/index.php b/index.php index 1cb16778a6..9339523410 100644 --- a/index.php +++ b/index.php @@ -38,11 +38,10 @@ load_translation_table($lang); */ require_once("dba.php"); -$db = new dba($db_host, $db_user, $db_pass, $db_data, $install); - unset($db_host, $db_user, $db_pass, $db_data); - if(! $install) { +$db = new dba($db_host, $db_user, $db_pass, $db_data, $install); + unset($db_host, $db_user, $db_pass, $db_data); /** * Load configs from db. Overwrite configs from .htconfig.php