Update v_xml_cdr_import.php
This commit is contained in:
parent
2a1f098246
commit
6d722bd34f
|
|
@ -228,7 +228,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//check whether a recording exists
|
//check whether a recording exists
|
||||||
$recording_relative_path = '/'.$_SESSION['domain_name'].'/archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day;
|
$recording_relative_path = '/'.$domain_name.'/archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day;
|
||||||
if (file_exists($_SESSION['switch']['recordings']['dir'].$recording_relative_path.'/'.$uuid.'.wav')) {
|
if (file_exists($_SESSION['switch']['recordings']['dir'].$recording_relative_path.'/'.$uuid.'.wav')) {
|
||||||
$recording_file = $recording_relative_path.'/'.$uuid.'.wav';
|
$recording_file = $recording_relative_path.'/'.$uuid.'.wav';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue