mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
Require files using __DIR__ instead of SERVER_ROOT
Use `new Class` instead of `NEW Class`
Class FEED => Feed
Class VALIDATE => Validate
26 lines
623 B
PHP
26 lines
623 B
PHP
<?php
|
|
|
|
require_once(__DIR__.'/classes/config.php');
|
|
|
|
return
|
|
[
|
|
'paths' => [
|
|
'migrations' => '%%PHINX_CONFIG_DIR%%/db/migrations',
|
|
'seeds' => '%%PHINX_CONFIG_DIR%%/db/seeds'
|
|
],
|
|
'environments' => [
|
|
'default_migration_table' => 'phinxlog',
|
|
'default_database' => 'gazelle',
|
|
'gazelle' => [
|
|
'adapter' => 'mysql',
|
|
'host' => SQLHOST,
|
|
'name' => SQLDB,
|
|
'user' => SQL_PHINX_USER,
|
|
'pass' => SQL_PHINX_PASS,
|
|
'port' => SQLPORT,
|
|
'charset' => 'utf8'
|
|
]
|
|
],
|
|
'version_order' => 'creation'
|
|
];
|