NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
## config ##### Description Get or Set the redis config keys. 取得或者设置REIDS系统配置KEYS。 ##### Parameters *operation* (string) either `<span class="calibre12">GET</span>` or `SET` *key* string for `<span class="calibre12">SET</span>`, glob-pattern for `<span class="calibre12">GET</span>`. See <http://redis.io/commands/config-get> for examples. *value* optional string (only for `<span class="calibre12">SET</span>`) ##### Return value *Associative array* for `<span class="calibre12">GET</span>`, key -> value *bool* for `<span class="calibre12">SET</span>` ##### Examples ``` <pre class="calibre9">$redis->config("GET", "*max-*-entries*"); $redis->config("SET", "dir", "/var/run/redis/dumps/"); ``` ##