mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
Merge pull request #1242 from JanC/1241-trim-baseurl
[1241] Trim base url slashes
This commit is contained in:
commit
5de23ab889
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ $domain = $_SERVER['HTTP_HOST'] ?? 'localhost';
|
|||
|
||||
$request_uri = dirname($_SERVER['SCRIPT_NAME']);
|
||||
|
||||
$config['base_url'] = $protocol . $domain . $request_uri;
|
||||
$config['base_url'] = trim($protocol . $domain . $request_uri, "/");
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue