-
Notifications
You must be signed in to change notification settings - Fork 2
/
ruckusing.conf.php
20 lines (19 loc) · 934 Bytes
/
ruckusing.conf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
$config = require_once RUCKUSING_WORKING_BASE . DIRECTORY_SEPARATOR . 'config/' . getenv('environment') . '/config.php';
return array(
'db' => array(
'development' => array(
'type' => $config['db']['driver'],
'host' => $config['db']['host'],
'port' => $config['db']['port'],
'database' => $config['db']['dbname'],
'user' => $config['db']['user'],
'password' => $config['db']['pass'],
'directory' => ''
)
),
'migrations_dir' => array('default' => RUCKUSING_WORKING_BASE . DIRECTORY_SEPARATOR . 'db/migrations'),
'db_dir' => RUCKUSING_WORKING_BASE . DIRECTORY_SEPARATOR . 'db',
'log_dir' => RUCKUSING_WORKING_BASE . DIRECTORY_SEPARATOR . 'db/logs',
'ruckusing_base' => dirname(__FILE__) . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'ruckusing' . DIRECTORY_SEPARATOR . 'ruckusing-migrations'
);