Commit e4b2f3a9b662ab30b67768fa22769cc65016eefc
1 parent
7ba8c242
config
Showing
2 changed files
with
22 additions
and
12 deletions
Show diff stats
app/config/config.ini deleted
| 1 | -[database] | |
| 2 | -adapter = Postgresql | |
| 3 | -host = "localhost" | |
| 4 | -username = "postgres" | |
| 5 | -password = "5cZw3rPC" | |
| 6 | -dbname = "analytics" | |
| 7 | - | |
| 8 | -[phalcon] | |
| 9 | -controllersDir = "../app/library/App/Controllers/" | |
| 10 | -modelsDir = "../app/library/App/Model/" | |
| 11 | -viewsDir = "../app/views/" | |
| 12 | -baseUri = "/store/" |
| 1 | +<?php | |
| 2 | + return [ | |
| 3 | + 'database' => [ | |
| 4 | + | |
| 5 | + // Change to your own configuration | |
| 6 | + 'adapter' => 'Postgresql', | |
| 7 | + 'host' => 'localhost', | |
| 8 | + 'username' => 'postgres', | |
| 9 | + 'password' => '5cZw3rPC', | |
| 10 | + 'dbname' => 'analytics', | |
| 11 | + ], | |
| 12 | + | |
| 13 | + 'phalcon' => [ | |
| 14 | + | |
| 15 | + // Change to your own configuration | |
| 16 | + 'controllersDir' => "../app/library/App/Controllers/", | |
| 17 | + 'modelsDir' => "../app/library/App/Controllers/", | |
| 18 | + 'viewsDir' => "../app/views/", | |
| 19 | + 'baseUri' => "/store/" | |
| 20 | + ] | |
| 21 | + ]; | |
| 22 | +?> | ... | ... |