forked from xsanisty/SlimBoard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphinx.php
More file actions
25 lines (22 loc) · 668 Bytes
/
Copy pathphinx.php
File metadata and controls
25 lines (22 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
$config = array();
require "./app/config/database.php";
$adaper = $config['database']['default'];
$connection = $config['database']['connections'][$adaper];
return array(
"paths" => array(
"migrations" => "app/migrations"
),
"environments" => array(
"default_migration_table" => "migration",
"default_database" => "dev",
"dev" => array(
"adapter" => $adaper,
"host" => $connection['host'],
"name" => $connection['database'],
"user" => $connection['username'],
"pass" => $connection['password'],
"port" => $connection['port']
)
)
);