mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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 ($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')) {
|
||||
|
||||
Reference in New Issue
Block a user