mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
MediaPicker preview fix.
This commit is contained in:
@@ -1114,8 +1114,7 @@ class e_media
|
||||
*/
|
||||
public function detectType($mediaURL)
|
||||
{
|
||||
list($id,$type) = explode(".",$mediaURL,2);
|
||||
unset($id);
|
||||
$type = pathinfo($mediaURL,PATHINFO_EXTENSION);
|
||||
|
||||
foreach($this->mimeExtensions as $key=>$exts)
|
||||
{
|
||||
|
Reference in New Issue
Block a user