aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-10 16:07:05 -0700
committerfriendica <info@friendica.com>2012-04-10 16:07:05 -0700
commit703bfcb6d4bd21e68aaabd5f1b256106c505f0e9 (patch)
treec4fc85a1c8cdacaed03fb358a11a714f4e556e18 /index.php
parent14d68a0dc031b271d26e735160651da52b55d562 (diff)
parent0e97e2338a697141965e74ed3c68f7cd1aff4f7f (diff)
downloadvolse-hubzilla-703bfcb6d4bd21e68aaabd5f1b256106c505f0e9.tar.gz
volse-hubzilla-703bfcb6d4bd21e68aaabd5f1b256106c505f0e9.tar.bz2
volse-hubzilla-703bfcb6d4bd21e68aaabd5f1b256106c505f0e9.zip
Merge https://github.com/friendica/friendica into pull
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