Example #1
0
 /**
  *  Allows you to change the configuration on the fly. Use either a file or PHP array.
  *  @return bool
  */
 public static function set($new_config, $new_value = false)
 {
     self::initialise();
     if (!is_array($new_config)) {
         $new_config = array($new_config => $new_value);
     }
     self::$config_array = array_merge(self::$config_array, $new_config);
 }