mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2025-01-06 22:12:25 +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 = '';
|
$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