Dialplan - Inbound: Updates for PHP 8.1
This commit is contained in:
parent
af8a6991b1
commit
86a09e5635
|
|
@ -27,7 +27,7 @@
|
|||
//if there are multiple domains then update the public dir path to include the domain
|
||||
if ($domains_processed == 1) {
|
||||
if (count($_SESSION["domains"]) > 1) {
|
||||
if (is_dir($_SESSION['switch']['dialplan']['dir'].'/public')) {
|
||||
if (!empty($_SESSION['switch']['dialplan']['dir']) && is_dir($_SESSION['switch']['dialplan']['dir'].'/public')) {
|
||||
//clear out the old xml files
|
||||
$v_needle = '_v_';
|
||||
if($dh = opendir($_SESSION['switch']['dialplan']['dir'].'/public')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue