example: move config files in root path as default
This commit is contained in:
parent
f214ab37d9
commit
390651c995
4 changed files with 3 additions and 3 deletions
1
example/.gitignore
vendored
1
example/.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
# Exclude composer installed libs
|
||||
/vendor
|
||||
/composer.lock
|
||||
/config.local.yml
|
||||
|
|
1
example/includes/.gitignore
vendored
1
example/includes/.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
config.local.yml
|
|
@ -30,10 +30,10 @@ require("$root_dir_path/vendor/autoload.php");
|
|||
|
||||
// Initialize EesyPHP application
|
||||
App::init(
|
||||
"$root_dir_path/includes/config.yml",
|
||||
"$root_dir_path/config.yml",
|
||||
array(
|
||||
'overwrite_config_files' => array(
|
||||
"$root_dir_path/includes/config.local.yml",
|
||||
"$root_dir_path/config.local.yml",
|
||||
),
|
||||
'templates' => array(
|
||||
'static_directories' => array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue