convert forbidden character in filename(Windows) with underline

This commit is contained in:
Saleh Souzanchi 2013-08-25 02:09:13 +04:30
parent 59cef53ffe
commit e157d8a7e6
2 changed files with 9 additions and 1 deletions

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