Hi Djulia,
We've investigated this issue further and found that this is part of a PHP bug, where some .swf files are seen to have a file type of .swc:
https://bugs.php.net/bug.php?id=51700Here is a work around that will be put into the next release:
*NOTE: ALWAYS make a backup of your files before changing CMS Builder source code*
- Open cmsAdmin/lib/upload_functions.php
- In the saveUpload function (around line 207 in version 2.17), you'll see this line of code:
if ($fileExt == 'swf' && $imageType != IMAGETYPE_SWF) { $isValidFileType = false; }
- replace this line with this:
if (in_array($fileExt, array('swf','swc')) &&
!in_array($imageType, array(IMAGETYPE_SWF, IMAGETYPE_SWC))) { $isValidFileType = false; }
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/