소스 검색

wes 多宝福袋

APPLE 3 년 전
부모
커밋
4e28a75f08
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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')) {