[FileCache] Change parameters to lower-case
This prevents creating multiple cache files for the same request.
This commit is contained in:
父節點
5de4a59d41
當前提交
5639b158e7
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
|
@ -55,7 +55,7 @@ class FileCache implements CacheInterface {
|
|||
* @return self
|
||||
*/
|
||||
public function setParameters(array $param){
|
||||
$this->param = $param;
|
||||
$this->param = array_map('strtolower', $param);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
|
載入中…
Reference in a new issue