public function set($key, $value)
    {
        $config = &$this->config;

        foreach (explode('.', $key) as $k) {
            $config = &$config[$k];
        }

        $config = $value;

        return true;
    }
public function set($key, $value)
    {
        $config = &$this->config;

        foreach (explode('.', $key) as $k) {
            $config = &$config[$k];
        }

        $config = $value;

        return true;
    }
public function set ( $ key , $ value ) { $ config = & $ this -> config ; foreach ( explode ( '.' , $ key ) as $ k ) { $ config = & $ config [ $ k ] ; } $ config = $ value ; return true ; }
Store a config value with a specified key.

@param string $key   Unique configuration option key
@param mixed  $value Config item value

@return bool True on success, otherwise false
Store a config value with a specified key .