mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Media-Manager fixes and refinements
This commit is contained in:
@@ -131,7 +131,7 @@ class e_file
|
||||
public function cleanFileName($f,$rename=false)
|
||||
{
|
||||
$fullpath = $f['path'].$f['fname'];
|
||||
$newfile = preg_replace("/[^a-z0-9-\.]/", "-", strtolower($f['fname']));
|
||||
$newfile = preg_replace("/[^a-z0-9-\._]/", "-", strtolower($f['fname']));
|
||||
$newpath = $f['path'].$newfile;
|
||||
|
||||
if($rename == true)
|
||||
|
Reference in New Issue
Block a user