Update xml_cdr.php

This commit is contained in:
Alex 2025-03-14 13:26:28 -07:00 committed by GitHub
parent 9494ae3e27
commit 06ee760313
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 5 deletions

View File

@ -80,11 +80,8 @@
exit;
}
//get the settings
$setting = new settings();
//get cdr settings
//$interval = $setting->get('xml_cdr', '$interval');
//$interval = $settings->get('xml_cdr', '$interval');
//make sure the /var/run/fusionpbx directory exists
if (!file_exists('/var/run/fusionpbx')) {
@ -119,7 +116,7 @@
$cdr = new xml_cdr;
//get the cdr record
$xml_cdr_dir = $setting->get('switch', 'log').'/xml_cdr';
$xml_cdr_dir = $settings->get('switch', 'log').'/xml_cdr';
//loop through
while (true) {