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 | d97e12cb0e9c8b5e78e67780d1a9227da35e0da4 (patch) | |
tree | 26bd49ad5564b838dbf42ae98146f525e09dc57b /system | |
parent | 28bda7fd05d5261e0da1702e789cfedc6ab423b4 (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 |