public static function set($key, $value) {
        if (!isset(self::$config['settings'])) {
            self::$config['settings'] = array();
        }

        self::$config['settings'][$key] = $value;
    }
public static function set($key, $value) {
        if (!isset(self::$config['settings'])) {
            self::$config['settings'] = array();
        }

        self::$config['settings'][$key] = $value;
    }
public static function set ( $ key , $ value ) { if ( ! isset ( self :: $ config [ 'settings' ] ) ) { self :: $ config [ 'settings' ] = array ( ) ; } self :: $ config [ 'settings' ] [ $ key ] = $ value ; }
Adds a custom setting.

@param string $key The unique key.
@param mixed $value The value.

@return void
Adds a custom setting .