summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Barnes <eric@ericlbarnes.com>2011-04-26 15:59:29 +0200
committerEric Barnes <eric@ericlbarnes.com>2011-04-26 15:59:29 +0200
commit689f95d2c8bcbd0ac2f538c237dff471fbcff048 (patch)
tree1f2ec914228181c81fbd0b3038f3aece3d078503
parent2e0a49e8573aca9c63e72d7e7dcd3b0867b3dc81 (diff)
Automatic base_url generation was missing a ending slash.
-rw-r--r--system/core/Config.php2
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