diff --git a/application/config/config.php b/application/config/config.php index 87532b43..47496f2c 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -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, "/"); /* |--------------------------------------------------------------------------