Fixed base url trailing slash

This commit is contained in:
Jan Chaloupecky 2022-04-22 13:27:33 +02:00
parent 227612565d
commit c7437fddc1

View file

@ -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, "/");
/*
|--------------------------------------------------------------------------