Forums / Extensions / File location...

File location...

Author Message

Ivan Švogor

Friday 14 January 2011 2:28:08 am

Hello...

I've developed a calendar with option to export it to iCalendar format (ics), and every time when editor chances some date, or adds new event .ics file is regenerated. Now my question is where to locate this, and how to name it?

Currently I'm saving it to /var/storage/calendar. It is not good becouse if my user wants his own personal calender, everyone can get it. I would like to created in location where all the uploaded files are and so it is protected. Any ideas how can I configure this?

Tnx