mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-10 01:42:33 +01:00
Qual: Clean code to reduce nb of properties into classes
This commit is contained in:
@@ -373,8 +373,8 @@ function dol_now($mode='gmt')
|
||||
*/
|
||||
function dol_sanitizeFileName($str,$newstr='_')
|
||||
{
|
||||
global $conf;
|
||||
return dol_string_nospecial(dol_string_unaccent($str),$newstr,$conf->filesystem_forbidden_chars);
|
||||
$filesystem_forbidden_chars = array('<','>',':','/','\\','?','*','|','"');
|
||||
return dol_string_nospecial(dol_string_unaccent($str), $newstr, $filesystem_forbidden_chars);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user