summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/core/Config.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/core/Config.php b/system/core/Config.php
index ec852b133..b2689a6bb 100644
--- a/system/core/Config.php
+++ b/system/core/Config.php
@@ -83,9 +83,9 @@ class CI_Config {
$script_dir .= '/';
}
- $base_url = (is_https() ? 'https' : 'http') . '://'
- . (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'localhost')
- . $script_dir;
+ $base_url = (is_https() ? 'https' : 'http').'://'
+ .(isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'localhost')
+ .$script_dir;
$this->set_item('base_url', $base_url);
}