SimpleRouter/Config.php

17 lines
283 B
PHP
Raw Normal View History

2015-09-10 06:37:52 -05:00
<?PHP
class Config{
private static $registry = Array();
public static function set($key,$value){
self::$registry[$key] = $value;
}
public static function get($key){
if(array_key_exists($key,self::$registry)){
return self::$registry[$key];
}
return false;
}
}