From 943e18464293df3dc0cf144fc4ef56c92f617866 Mon Sep 17 00:00:00 2001 From: iglocska Date: Wed, 11 Aug 2021 13:58:12 +0200 Subject: [PATCH] chg: [app_local] config defaults --- config/app_local.example.php | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/config/app_local.example.php b/config/app_local.example.php index 03aeef1..aca4ef1 100644 --- a/config/app_local.example.php +++ b/config/app_local.example.php @@ -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 ] ];