Hi diego, thanks for your help.
Just changing that line in the js file did not do it on its own. It enabled me to upload the svg but there was no thumbnail for the uploaded file and trying to insert the resultant image into a post just came up as undefined.
So I had a look in my error logs and noticed a symlink error
Code: Select all
PHP Warning: symlink(): Cannot create symlink, error code(1314)
Line 76 of uploader.php creates a symlink of the the uploaded svg file in the thumbnail folder. Since this wasn't working I just changed the command to copy and bobs your uncle - upload complete and without error!
Out of interest - what is the gain in symlinking instead of just copying?