SimpleRouter/Config.php
2015-09-10 13:37:52 +02:00

17 lines
283 B
PHP

<?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;
}
}