aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-25 16:55:33 -0700
committerredmatrix <git@macgirvin.com>2016-04-25 16:55:33 -0700
commitc3b0c0f32a17649503db67f208cce6f9e0cdc322 (patch)
treebd0ef639d079f5220c9b50737209a13fadbc10cd /index.php
parent6291c08e01edda16a9dbb1f58e91a829538fc25e (diff)
downloadvolse-hubzilla-c3b0c0f32a17649503db67f208cce6f9e0cdc322.tar.gz
volse-hubzilla-c3b0c0f32a17649503db67f208cce6f9e0cdc322.tar.bz2
volse-hubzilla-c3b0c0f32a17649503db67f208cce6f9e0cdc322.zip
remove global db variable
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 278be154c..33ad424bc 100755
--- a/index.php
+++ b/index.php
@@ -47,7 +47,7 @@ date_default_timezone_set(App::$timezone);
require_once('include/dba/dba_driver.php');
if(! App::$install) {
- $db = dba_factory($db_host, $db_port, $db_user, $db_pass, $db_data, $db_type, App::$install);
+ $db = DBA::dba_factory($db_host, $db_port, $db_user, $db_pass, $db_data, $db_type, App::$install);
if(! $db->connected) {
system_unavailable();
}