Changeset 1359 for branches/1.2
- Timestamp:
- 03/20/10 05:56:53 (3 years ago)
- File:
-
- 1 edited
-
branches/1.2/libs/Initialize.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/libs/Initialize.php
r1356 r1359 96 96 // point PHP to our error log 97 97 ini_set('error_log', $filename); 98 99 $last_modified = filemtime($this->log[$type]);100 $expire = (14 * 24 * 60 * 60); // 2 weeks101 if ($last_modified < (time() - $expire)) { unlink ($this->log[$type]); }102 98 } 103 99
Note: See TracChangeset
for help on using the changeset viewer.