Skip to content

Commit d97e12c

Browse files
committed
Automatic base_url generation was missing a ending slash.
1 parent 28bda7f commit d97e12c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/core/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function __construct()
5555
{
5656
$base_url = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ? 'https' : 'http';
5757
$base_url .= '://'. $_SERVER['HTTP_HOST'];
58-
$base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']);
58+
$base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']).'/';
5959
}
6060

6161
else

0 commit comments

Comments
 (0)