Setup was horked after this commit and I couldn't easily make it right so reverting - will try again at a future date
Revert "remove global db variable"
This reverts commit c3b0c0f32a
.
This commit is contained in:
@@ -47,7 +47,7 @@ date_default_timezone_set(App::$timezone);
|
||||
require_once('include/dba/dba_driver.php');
|
||||
|
||||
if(! App::$install) {
|
||||
$db = DBA::dba_factory($db_host, $db_port, $db_user, $db_pass, $db_data, $db_type, App::$install);
|
||||
$db = dba_factory($db_host, $db_port, $db_user, $db_pass, $db_data, $db_type, App::$install);
|
||||
if(! $db->connected) {
|
||||
system_unavailable();
|
||||
}
|
||||
|
Reference in New Issue
Block a user