Browse Source

[FileCache] Change parameters to lower-case

This prevents creating multiple cache files for the same request.
logmanoriginal 8 years ago
parent
commit
5639b158e7
1 changed files with 1 additions and 1 deletions
  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;
 	}