Upload via GUI (30 Dateien)
This commit is contained in:
@@ -151,3 +151,6 @@ if (!function_exists('sanitize_hex_color')) {
|
||||
if (!function_exists('checked')) {
|
||||
function checked($a, $b = true, $echo = true) { $r = (string) $a === (string) $b ? " checked='checked'" : ''; if ($echo) echo $r; return $r; }
|
||||
}
|
||||
if (!function_exists('sanitize_file_name')) {
|
||||
function sanitize_file_name($f) { $f = basename(str_replace(chr(92), '/', (string) $f)); $f = preg_replace('/[^A-Za-z0-9._ -]+/', '-', $f); return trim((string) $f, '.- ') === '' ? '' : (string) $f; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user