mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Fixed base url trailing slash
This commit is contained in:
parent
227612565d
commit
c7437fddc1
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