forked from mirrors/easyappointments
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