Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Renaming file through TWG Flash uploader
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=1131
Page 1 of 1

Author:  technointellects [ 9. Aug 2007, 06:08 ]
Post subject:  Renaming file through TWG Flash uploader

With reference to the How-To Q 5

I tried to rename the file to back.png using TWG Flash Uploader and got the following error message :

File cannot be renamed because it is not allowed to change the file extension!

Author:  TinyWebGallery [ 9. Aug 2007, 09:29 ]
Post subject: 

the full version does not allow this because of security.

you can chenage this by changing

$keep_file_extension="true";

to

$keep_file_extension="false";

in admin/tfu_config.php

I will add this setting to the global config file too ;).

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/