mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2025-01-04 21:12:26 +03:00
Do not parse the base url dynamically if the request is a CLI request
This commit is contained in:
parent
f237f99aea
commit
547513b2d3
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ if ($request_uri === '.') {
|
|||
$request_uri = '';
|
||||
}
|
||||
|
||||
$config['base_url'] = trim($protocol . $domain . $request_uri, '/');
|
||||
$config['base_url'] = !is_cli() ? trim($protocol . $domain . $request_uri, '/') : Config::BASE_URL;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue