多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 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/"); ``` ##