tweaking config class comments.
This commit is contained in:
parent
ee307657d3
commit
9e8f5d57c1
|
@ -17,9 +17,9 @@ class Config {
|
|||
*/
|
||||
public static function get($key)
|
||||
{
|
||||
|
||||
// -----------------------------------------------------
|
||||
// We are are just pulling in a file, skip loading a key
|
||||
// If a dot is not present, we will just return the
|
||||
// entire configuration array.
|
||||
// -----------------------------------------------------
|
||||
if(strpos($key, '.') == 0)
|
||||
{
|
||||
|
@ -29,7 +29,6 @@ public static function get($key)
|
|||
}
|
||||
|
||||
list($file, $key) = static::parse($key);
|
||||
|
||||
static::load($file);
|
||||
|
||||
if (array_key_exists($key, static::$items[$file]))
|
||||
|
@ -50,7 +49,6 @@ public static function get($key)
|
|||
public static function set($key, $value)
|
||||
{
|
||||
list($file, $key) = static::parse($key);
|
||||
|
||||
static::load($file);
|
||||
|
||||
static::$items[$file][$key] = $value;
|
||||
|
|
Loading…
Reference in New Issue