diff options
author | Eric Barnes <eric@ericlbarnes.com> | 2011-04-26 15:59:29 +0200 |
---|---|---|
committer | Eric Barnes <eric@ericlbarnes.com> | 2011-04-26 15:59:29 +0200 |
commit | 689f95d2c8bcbd0ac2f538c237dff471fbcff048 (patch) | |
tree | 1f2ec914228181c81fbd0b3038f3aece3d078503 /system | |
parent | 2e0a49e8573aca9c63e72d7e7dcd3b0867b3dc81 (diff) |
Automatic base_url generation was missing a ending slash.
Diffstat (limited to 'system')
-rw-r--r-- | system/core/Config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Config.php b/system/core/Config.php index fa71f4d3d..55c623b3c 100644 --- a/system/core/Config.php +++ b/system/core/Config.php @@ -55,7 +55,7 @@ class CI_Config { { $base_url = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ? 'https' : 'http'; $base_url .= '://'. $_SERVER['HTTP_HOST']; - $base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']); + $base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']).'/'; } else |