diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-03-11 03:01:30 +0100 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-03-11 03:01:30 +0100 |
commit | 6efbe5d7312698c73bbd645950ff5c81793b21e7 (patch) | |
tree | eb647bc246487f444ea1ffd4e24317ab0200bf30 /system/core | |
parent | e40c763bf969acbaa7c4c61be50f01e870062080 (diff) | |
parent | 8749bc7e836c196dfef37d3b7b5a67736a15092c (diff) |
Merge pull request #1161 from toopay/unit-tests
Unit Tests marked as "Incomplete" now completed.
Diffstat (limited to 'system/core')
-rwxr-xr-x | 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 68417435d..5424e5eb1 100755 --- a/system/core/Config.php +++ b/system/core/Config.php @@ -76,7 +76,7 @@ class CI_Config { log_message('debug', 'Config Class Initialized'); // Set the base_url automatically if none was provided - if ($this->config['base_url'] == '') + if (empty($this->config['base_url'])) { if (isset($_SERVER['HTTP_HOST'])) { |