summaryrefslogtreecommitdiffstats
path: root/system/core/Config.php
diff options
context:
space:
mode:
authorPascal Kriete <pascal.kriete@ellislab.com>2011-02-14 19:27:07 +0100
committerPascal Kriete <pascal.kriete@ellislab.com>2011-02-14 19:27:07 +0100
commit5d5895fd1084cd62721afd4c5f875eb2f99eefc4 (patch)
tree5f61ea1933d027627805103c61a3289e59516356 /system/core/Config.php
parent45e3cdf52d7438c5a6adf70835d96cfeab1eea0e (diff)
Whitespace cleanup in core/
Diffstat (limited to 'system/core/Config.php')
-rw-r--r--system/core/Config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Config.php b/system/core/Config.php
index da22222dc..75f945efd 100644
--- a/system/core/Config.php
+++ b/system/core/Config.php
@@ -51,7 +51,7 @@ class CI_Config {
// Set the base_url automatically if none was provided
if ($this->config['base_url'] == '')
{
- if(isset($_SERVER['HTTP_HOST']))
+ if (isset($_SERVER['HTTP_HOST']))
{
$base_url = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ? 'https' : 'http';
$base_url .= '://'. $_SERVER['HTTP_HOST'];
@@ -83,7 +83,7 @@ class CI_Config {
$file = ($file == '') ? 'config' : str_replace(EXT, '', $file);
$loaded = FALSE;
- foreach($this->_config_paths as $path)
+ foreach ($this->_config_paths as $path)
{
$file_path = $path.'config/'.ENVIRONMENT.'/'.$file.EXT;