mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-01 04:13:28 +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).' ';
|
$msg .= lang('Renamed %1 to %2.',$path,$to).' ';
|
||||||
$content['old']['name'] = $content[$name];
|
$content['old']['name'] = $content[$name];
|
||||||
$path = $to;
|
$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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user