minor changes
This commit is contained in:
@ -89,7 +89,7 @@ abstract class FileUtil {
|
||||
*/
|
||||
public static function getClearedFileName($fileName) {
|
||||
$fileName = Formatter::stripCodes($fileName);
|
||||
$fileName = str_replace(array('\\', '/', ':', '*', '?', '"', '<', '>', '|'), '_', $fileName);
|
||||
$fileName = str_replace(array(DIRECTORY_SEPARATOR, '\\', '/', ':', '*', '?', '"', '<', '>', '|'), '_', $fileName);
|
||||
$fileName = preg_replace('/[^[:print:]]/', '', $fileName);
|
||||
return $fileName;
|
||||
}
|
||||
|
Reference in New Issue
Block a user