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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:52:14
Script start
Timing: Jan 30 2025 00:52:14
Module start 'layout'
Timing: Jan 30 2025 00:52:14
Module start 'content'
Timing: Jan 30 2025 00:52:14
Module end 'content'
Timing: Jan 30 2025 00:52:14
Script end

Main resources:

Total runtime0.0118 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0041 588.0078151.1953
Module start 'layout' 0.00410.0019 739.203136.6172
Module start 'content' 0.00590.0046 775.820385.9297
Module end 'content' 0.01050.0012 861.750029.9766
Script end 0.0117  891.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002017.1803140.0001
Check MTime0.00097.5241140.0001
Mysql Total
Database connection0.00065.128810.0006
Mysqli_queries0.001613.717930.0005
Looping result0.00000.066810.0000
Template Total0.00098.010.0009
Template load0.00075.859710.0007
Template processing0.00022.073410.0002
Override
Cache load0.00054.033410.0005
General
dbfile0.00119.164280.0001
String conversion0.00000.050640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs