How to create a folder with read and write permission in joomla?



In many modules, example module jvheadline, jvnews, or some module for slide show, it is usually need a written permission for thumbnail image folder. Some you can change write permission by fpt, but some time image folder is created by command for example: JFolder::create($thumbImgFolder); .

We should change this command into: JFolder::create($thumbImgParentFolder,0777);

This will set written permission for this folder right after it is created.



Responses

0 Respones to "How to create a folder with read and write permission in joomla?"

Post a Comment

 

Link Liên kết

Thông tin liên hệ

YH: huonggiangdhtn
Skype: tthuonggiang
Return to top of page Copyright © 2010 | joomla extensions jw-extension.net