mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
"mime_magic methods are not yet static in 1.6, thanks to Hans-Jürgen"
This commit is contained in:
parent
22a3b97bb7
commit
082e01874a
@ -656,7 +656,9 @@ class filemanager_ui
|
||||
$msg .= lang('Renamed %1 to %2.',$path,$to).' ';
|
||||
$content['old']['name'] = $content[$name];
|
||||
$path = $to;
|
||||
$content['mime'] = mime_magic::filename2mime($path); // recheck mime type
|
||||
$mime_magic = new mime_magic();
|
||||
$content['mime'] = $mime_magic->filename2mime($path); // recheck mime type
|
||||
unset($mime_magic);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user