mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-31 13:39:55 +00:00
Process files in the cdr directory when the service has started
This commit is contained in:
@@ -131,6 +131,9 @@ class xml_cdr_service extends service {
|
||||
// Set the initial time
|
||||
$last_poll_time = time();
|
||||
|
||||
// Read the directory to find files to process
|
||||
$this->process_files();
|
||||
|
||||
// Service work is handled here
|
||||
while ($this->running) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user