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

Move Plugin / Change $userdir
https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=3189
Page 1 of 1

Author:  lifemaster [ 27. Dec 2011, 12:43 ]
Post subject:  Move Plugin / Change $userdir

Hi guys,

i dont know/find the correct Variables.
After Upload Image, the image will be exist in the IP Directory ( Example: \images\TWG\10.10.10.1\hallo.jpg ). For information, TWG folder is the root folder from the TWG Component.

With the move plugin i want to move this hallo.jpg in the root joomla image folder like .\images\uploads. I dont can move files under the TWG Root Directory.
$userdir = './images/userimages'; ---> dont work!

Can you anybody help me in this case?

Thanks
Daniel

Author:  TinyWebGallery [ 28. Dec 2011, 00:31 ]
Post subject:  Re: Move Plugin / Change $userdir

You have to provide the relative path or the real full path.

you start at where the tfu_upload.php is located. So you either have to go up to the root first or provide the full path.

Best, Michael

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