Browse Source

convert forbidden character in filename(Windows) with underline

Saleh Souzanchi 12 years ago
parent
commit
d606bcb7fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Cache/Engine/FileEngine.php

+ 1 - 1
lib/Cake/Cache/Engine/FileEngine.php

@@ -388,7 +388,7 @@ class FileEngine extends CacheEngine {
 			return false;
 		}
 
-		$key = Inflector::underscore(str_replace(array(DS, '/', '.','<','>','?',':','|','*','"'), '_', strval($key)));
+		$key = Inflector::underscore(str_replace(array(DS, '/', '.', '<', '>', '?', ':', '|', '*', '"'), '_', strval($key)));
 		return $key;
 	}