Initial commit to aggregate values and show monthly overviews.
This commit is contained in:
12
bootstrap.php
Normal file
12
bootstrap.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
$config = require(__DIR__ . '/config/config.php');
|
||||
|
||||
$remote_db = new mysqli($config['remote']['db_host'], $config['remote']['db_user'], $config['remote']['db_pass'], $config['remote']['db_name'], $config['remote']['db_port']);
|
||||
$local_db = new mysqli($config['local']['db_host'], $config['local']['db_user'], $config['local']['db_pass'], $config['local']['db_name'], $config['local']['db_port']);
|
||||
|
||||
return [
|
||||
'config' => $config,
|
||||
'remote_db' => $remote_db,
|
||||
'local_db' => $local_db
|
||||
];
|
||||
Reference in New Issue
Block a user