From 64cf2d089a598e9b8c8d1964303f92676c12e9b9 Mon Sep 17 00:00:00 2001 From: Alexander Kampmann Date: Tue, 10 Apr 2012 17:10:24 +0200 Subject: [PATCH] fixed install bug --- index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.5