Changeset 28614
- Timestamp:
- Jul 6, 2010, 11:28:57 AM (16 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 2 edited
-
def/autocodeImage.php (modified) (2 diffs)
-
raw/ipp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/def/autocodeImage.php
r28613 r28614 2 2 3 3 include 'ipp.php'; 4 delete_old_tmp_files(); 4 5 5 6 $ID = checkID (); … … 159 160 menu_end(); 160 161 161 unlink($datFilename);162 unlink($pngFilename);163 164 162 ?> -
trunk/ippMonitor/raw/ipp.php
r28601 r28614 875 875 $filteringParameters = array(); 876 876 877 // 878 // Delete temporary files if they are older than $expire_time minutes 879 // 880 function delete_old_tmp_files() { 881 // define after how many minutes the files should be deleted 882 $expire_time = 15; 883 exec("find /tmp -user apache -amin +$expire_time", $output, $status); 884 foreach ($output as $key => $value) { 885 exec("rm -f $value"); 886 $count++; 887 } 888 } 889 877 890 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
