Changeset 6228
- Timestamp:
- 06/09/08 02:42:01 (6 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 modified
-
lib/function/logrotate.php (added)
-
plugins/CL_Moblog/index.php (modified) (1 diff)
-
plugins/CL_Moblog/index.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/CL_Moblog/index.php
r6130 r6228 309 309 echo "</li>\n</ul></body></html>"; 310 310 return true; 311 } 312 313 function moblog_logrotate() 314 { 315 requireLibrary( "function/logrotate" ); 316 cutlog( ROOT.DS."cache".DS."moblog.txt", 1024*1024 ); 317 cutlog( ROOT.DS."cache".DS."pop3uidl.txt", 1024*1024 ); 311 318 } 312 319 -
trunk/plugins/CL_Moblog/index.xml
r6122 r6228 18 18 <listener event="/plugin/moblog/check">moblog_check</listener> 19 19 <listener event="Cron5m">moblog_check</listener> 20 <listener event="Cron24h">moblog_logrotate</listener> 20 21 <adminMenu> 21 22 <viewMethods>
