ソースを参照

[FileCache] Change parameters to lower-case

This prevents creating multiple cache files for the same request.
logmanoriginal 8 年 前
コミット
5639b158e7
1 ファイル変更1 行追加1 行削除
  1. 1 1
      caches/FileCache.php

+ 1 - 1
caches/FileCache.php

@@ -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;
 	}