Browse Source

wes 多宝福袋

APPLE 3 years ago
parent
commit
4e28a75f08
1 changed files with 0 additions and 3 deletions
  1. 0 3
      vendor/topthink/framework/src/think/cache/driver/Redis.php

+ 0 - 3
vendor/topthink/framework/src/think/cache/driver/Redis.php

@@ -52,9 +52,6 @@ class Redis extends Driver
     {
         if (!empty($options)) {
             $this->options = array_merge($this->options, $options);
-        }else{
-           $options = config('cache.stores.redis');
-           $this->options = array_merge($this->options, $options);
         }
 
         if (extension_loaded('redis')) {