summaryrefslogtreecommitdiffstats
path: root/system/core/Config.php
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2013-07-25 12:18:43 +0200
committervlakoff <vlakoff@gmail.com>2013-07-25 12:18:43 +0200
commitc1044cb62e39709aa14f86a56bc950a78cfc713c (patch)
tree032dea4d5dac9184bd2278fec9d9d4f8906810a3 /system/core/Config.php
parent90f316a8615fbbbc0810d945dd1a237662c6bfbf (diff)
Uniformize slash_item() with item()
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 e7cbe5624..109ee6424 100644
--- a/system/core/Config.php
+++ b/system/core/Config.php
@@ -202,13 +202,13 @@ class CI_Config {
* Fetch a config file item with slash appended (if not empty)
*
* @param string $item Config item name
- * @return string|bool The configuration item or FALSE on failure
+ * @return string|null The configuration item or NULL if the item doesn't exist
*/
public function slash_item($item)
{
if ( ! isset($this->config[$item]))
{
- return FALSE;
+ return NULL;
}
elseif (trim($this->config[$item]) === '')
{