Changeset 28615
- Timestamp:
- Jul 6, 2010, 1:20:48 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/def/README (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/def/README
r28613 r28615 161 161 Regression line is also plotted (correlation coefficient is 162 162 shown in title). 163 164 Plotting with PHP and temporary files 165 ===================================== 166 167 Plots in PHP use temporary files (to provide data to dvo scripts and 168 to store result images). Unfortunately, if the files are deleted at 169 the end of main php script, the browser does not have the time to 170 render the image. If the file is not deleted, they remain in the /tmp 171 directory leading to disk space exhaustion. 172 173 To avoid this problem, the function delete_old_tmp_files() in ipp.php 174 was created. It checks the /tmp directory and removes all files 175 belonging to the apache user and that are older than 15 minutes. 176 delete_old_tmp_files() is called at the beginning of the 177 autocodeImage.php template script (line 4) and is therefore present in 178 all generated plotting scripts.
Note:
See TracChangeset
for help on using the changeset viewer.
