Skip to content

Commit 9b8de6f

Browse files
committed
Fix missing global
1 parent 5de0e9c commit 9b8de6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function autoload_model($classname) {
6464

6565
// Setup database connection and models
6666
function setup_database() {
67-
global $config, $database, $driver, $pubkey_dir, $user_dir, $group_dir, $server_dir, $server_account_dir, $event_dir, $sync_request_dir;
67+
global $config, $database, $driver, $migration_dir, $pubkey_dir, $user_dir, $group_dir, $server_dir, $server_account_dir, $event_dir, $sync_request_dir;
6868
try {
6969
$database = new mysqli($config['database']['hostname'], $config['database']['username'], $config['database']['password'], $config['database']['database'], $config['database']['port']);
7070
} catch(ErrorException $e) {

0 commit comments

Comments
 (0)