From: <var...@us...> - 2014-10-03 13:54:37
|
Revision: 9169 http://sourceforge.net/p/phpwiki/code/9169 Author: vargenau Date: 2014-10-03 13:54:30 +0000 (Fri, 03 Oct 2014) Log Message: ----------- function mime_content_type exists Modified Paths: -------------- trunk/lib/stdlib.php Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2014-10-03 13:51:44 UTC (rev 9168) +++ trunk/lib/stdlib.php 2014-10-03 13:54:30 UTC (rev 9169) @@ -656,7 +656,7 @@ } $type = $img->getAttr('type'); if (!$type) { - if (function_exists('mime_content_type') && file_exists($url)) { + if (file_exists($url)) { $type = mime_content_type($url); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |