aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kampmann <programmer@nurfuerspam.de>2012-04-10 17:10:24 +0200
committerAlexander Kampmann <programmer@nurfuerspam.de>2012-04-10 17:10:24 +0200
commit64cf2d089a598e9b8c8d1964303f92676c12e9b9 (patch)
treeb5e9eb6736f0548a0fee4dae66c8725b941b185a
parent2190b95d8078ab07f04abacd6ad81799ac7eb2bf (diff)
downloadvolse-hubzilla-64cf2d089a598e9b8c8d1964303f92676c12e9b9.tar.gz
volse-hubzilla-64cf2d089a598e9b8c8d1964303f92676c12e9b9.tar.bz2
volse-hubzilla-64cf2d089a598e9b8c8d1964303f92676c12e9b9.zip
fixed install bug
-rw-r--r--index.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/index.php b/index.php
index 1cb16778a..933952341 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