mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
move connections to the bootstrap
This commit is contained in:
parent
4135e70b62
commit
bf759f9dd7
13 changed files with 25 additions and 151 deletions
|
|
@ -29,9 +29,6 @@ $public = [
|
|||
// Begin export
|
||||
try
|
||||
{
|
||||
// Connect DB
|
||||
$db = new Database(DB_HOST, DB_PORT, DB_NAME, DB_USERNAME, DB_PASSWORD);
|
||||
|
||||
// Init API folder if not exists
|
||||
@mkdir(__DIR__ . '/../public/api');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue