From: <var...@us...> - 2009-11-06 13:54:06
|
Revision: 7262 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7262&view=rev Author: vargenau Date: 2009-11-06 13:53:57 +0000 (Fri, 06 Nov 2009) Log Message: ----------- Allow uploading and displaying inline SVG images Modified Paths: -------------- trunk/g trunk/lib/plugin/UpLoad.php Modified: trunk/g =================================================================== --- trunk/g 2009-11-05 19:19:01 UTC (rev 7261) +++ trunk/g 2009-11-06 13:53:57 UTC (rev 7262) @@ -110,8 +110,8 @@ define('ADMIN_USER', 'ACOS Forge Administrator'); define('ADMIN_PASSWD', 'xxx'); - // Allow ".jpeg" as extension - define('INLINE_IMAGES', 'png|jpg|jpeg|gif'); + // Allow ".svg" as extension + define('INLINE_IMAGES', 'png|jpg|jpeg|gif|svg'); // Allow parsing of headers for CreateToc define('TOC_FULL_SYNTAX', true); Modified: trunk/lib/plugin/UpLoad.php =================================================================== --- trunk/lib/plugin/UpLoad.php 2009-11-05 19:19:01 UTC (rev 7261) +++ trunk/lib/plugin/UpLoad.php 2009-11-06 13:53:57 UTC (rev 7262) @@ -95,6 +95,7 @@ ppt pptx rar +svg tar tar.gz txt This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |