From 4ace7c8f80514b4b646c7d952eb2e4193480a436 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 5 Jul 2011 08:29:03 -0700 Subject: [PATCH] Cleaning up Config class comments. --- system/config.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/system/config.php b/system/config.php index d0105ac1..c726bc26 100644 --- a/system/config.php +++ b/system/config.php @@ -30,11 +30,8 @@ public static function has($key) public static function get($key, $default = null) { // ----------------------------------------------------- - // If a dot is not present, we will just return the + // If no dot is in the key, we will just return the // entire configuration array. - // - // If the configuration file does not exist, the default - // value will be returned. // ----------------------------------------------------- if(strpos($key, '.') === false) { @@ -90,9 +87,6 @@ private static function parse($key) // The left side of the dot is the file name, while // the right side of the dot is the item within that // file being requested. - // - // This syntax allows for the easy retrieval and setting - // of configuration items. // ----------------------------------------------------- $segments = explode('.', $key);