fixed install bug

This commit is contained in:
Alexander Kampmann 2012-04-10 17:10:24 +02:00
parent 2190b95d80
commit 64cf2d089a
1 changed files with 2 additions and 3 deletions

View File

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