initial commit
This commit is contained in:
commit
e869a1cab4
107 changed files with 9029 additions and 0 deletions
15
app/config/config.php
Normal file
15
app/config/config.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
use Phalcon\Config\Adapter\Yaml as Config;
|
||||
|
||||
$config = new Config(APP_PATH . '/app/config/conf.app.yml');
|
||||
|
||||
try {
|
||||
$local = new Config(APP_PATH . '/app/config/conf.local.yml');
|
||||
|
||||
$config->merge($local);
|
||||
} catch(Phalcon\Config\Exception $e) {
|
||||
// Sometime went wrong.
|
||||
}
|
||||
|
||||
return $config;
|
||||
Reference in a new issue