1
0
Fork 0

Remove extraneous dba::connect calls

This commit is contained in:
Hypolite Petovan 2018-06-25 20:56:07 -04:00
commit 3985a4bc43
11 changed files with 18 additions and 60 deletions

View file

@ -24,14 +24,9 @@ if (!file_exists("boot.php") && (sizeof($_SERVER["argv"]) != 0)) {
}
require_once "boot.php";
require_once "include/dba.php";
$a = new App(dirname(__DIR__));
require_once ".htconfig.php";
dba::connect($db_host, $db_user, $db_pass, $db_data);
unset($db_host, $db_user, $db_pass, $db_data);
Config::load();
// Check the database structure and possibly fixes it