Beispiel #1
0
 public static function Set($param, $val)
 {
     if (is_array($param)) {
         self::$Settings = array_merge(self::$Settings, $param);
     } else {
         $path = explode("/", $param);
         if (count($path) == 1) {
             self::$Settings[$param] = $val;
         } else {
             self::$Settings[$path[0]][$path[1]] = $val;
         }
     }
 }