convert forbidden character in filename(Windows) with underline

This commit is contained in:
Saleh Souzanchi 2013-08-25 02:24:37 +04:30
parent e157d8a7e6
commit d606bcb7fd

View file

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