Dialplan - Inbound: Updates for PHP 8.1
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
//if there are multiple domains then update the public dir path to include the domain
|
//if there are multiple domains then update the public dir path to include the domain
|
||||||
if ($domains_processed == 1) {
|
if ($domains_processed == 1) {
|
||||||
if (count($_SESSION["domains"]) > 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
|
//clear out the old xml files
|
||||||
$v_needle = '_v_';
|
$v_needle = '_v_';
|
||||||
if($dh = opendir($_SESSION['switch']['dialplan']['dir'].'/public')) {
|
if($dh = opendir($_SESSION['switch']['dialplan']['dir'].'/public')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user