From: <var...@us...> - 2010-10-22 09:30:53
|
Revision: 7719 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7719&view=rev Author: vargenau Date: 2010-10-22 09:30:47 +0000 (Fri, 22 Oct 2010) Log Message: ----------- Allow swf Modified Paths: -------------- trunk/g trunk/lib/plugin/UpLoad.php Modified: trunk/g =================================================================== --- trunk/g 2010-10-22 08:26:31 UTC (rev 7718) +++ trunk/g 2010-10-22 09:30:47 UTC (rev 7719) @@ -121,8 +121,8 @@ // Dummy value define('ADMIN_PASSWD', 'xxx'); - // Allow ".svg" as extension - define('INLINE_IMAGES', 'png|jpg|jpeg|gif|svg'); + // Allow ".svg" and ".swf" as extensions + define('INLINE_IMAGES', 'png|jpg|jpeg|gif|svg|swf'); // Allow <div> and <span> in wiki code define('ENABLE_MARKUP_DIVSPAN', true); Modified: trunk/lib/plugin/UpLoad.php =================================================================== --- trunk/lib/plugin/UpLoad.php 2010-10-22 08:26:31 UTC (rev 7718) +++ trunk/lib/plugin/UpLoad.php 2010-10-22 09:30:47 UTC (rev 7719) @@ -132,7 +132,6 @@ reg sc[frt] sh[bsm]? -swf url vb[esx]? vxd This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |