chg: [app_local] config defaults

feature/docker-ci
iglocska 2021-08-11 13:58:12 +02:00
parent efbf5f0d2c
commit 943e184642
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 17 additions and 3 deletions

View File

@ -5,6 +5,16 @@
* Note: It is not recommended to commit files with credentials such as app_local.php
* into source code version control.
*/
// set the baseurl here if you want to set it manually
$baseurl = env('CEREBRATE_BASEURL', false);
// Do not modify the this block
$temp = parse_url($baseurl);
$base = empty($temp['path']) ? false : $temp['path'];
// end of block
return [
/*
* Debug Level:
@ -90,8 +100,12 @@ return [
],
],
'Cerebrate' => [
'open' => [],
'dark' => 0,
'baseurl' => ''
'open' => [],
'dark' => 0,
'baseurl' => ''
],
'App' => [
'base' => $base,
'fullBaseUrl' => $fullBaseUrl
]
];