Example #1
0
 public static function load($key, $config)
 {
     switch ($key) {
         case 'calendar':
             self::$calendar = $config;
             break;
         case 'debug':
             self::$debug = $config;
             break;
         case 'developer':
             self::$developer = $config;
             break;
         case 'security':
             self::$security = $config;
             break;
         case 'securityKeys':
             self::$securityKeys = $config;
             break;
         case 'performance':
             self::$performance = $config;
             break;
     }
 }