aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-10 15:21:37 -0700
committerfriendica <info@friendica.com>2012-04-10 15:21:37 -0700
commit3380ff32403f591a4d9281ea31a65306a70788a5 (patch)
tree47a3d200e707fb29c3e34e1c827edc45e1e1997b /index.php
parent6db33fc5138e55f5ae95fe7b24b3e93f8e20408c (diff)
parent64cf2d089a598e9b8c8d1964303f92676c12e9b9 (diff)
downloadvolse-hubzilla-3380ff32403f591a4d9281ea31a65306a70788a5.tar.gz
volse-hubzilla-3380ff32403f591a4d9281ea31a65306a70788a5.tar.bz2
volse-hubzilla-3380ff32403f591a4d9281ea31a65306a70788a5.zip
Merge pull request #223 from campino/master
bug fix
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/index.php b/index.php
index f0ed00232..5dd93523e 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