summaryrefslogtreecommitdiffstats
path: root/system/core/Config.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-20 14:19:19 +0100
committerAndrey Andreev <narf@bofh.bg>2012-03-20 14:19:19 +0100
commitde85d022e4704123028ad9b4a99407048c628d28 (patch)
tree02192d979c650b0407db23870f350b490167d659 /system/core/Config.php
parenta3b83d6562ca3f9ed0b429a2a6f3272b9f8bd72e (diff)
parent820999cb0d82c80d6dc5dde133568812c8113e29 (diff)
Merge upstream branch
Diffstat (limited to 'system/core/Config.php')
-rwxr-xr-xsystem/core/Config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Config.php b/system/core/Config.php
index 68417435d..91826bd41 100755
--- a/system/core/Config.php
+++ b/system/core/Config.php
@@ -2,7 +2,7 @@
/**
* CodeIgniter
*
- * An open source application development framework for PHP 5.1.6 or newer
+ * An open source application development framework for PHP 5.2.4 or newer
*
* NOTICE OF LICENSE
*
@@ -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']))
{