Update provision.php add address.xml

This commit is contained in:
FusionPBX
2023-06-30 19:01:06 -06:00
committed by GitHub
parent 7d90568f05
commit fe750a092d

View File

@@ -1194,7 +1194,10 @@
if (file_exists($template_dir."/".$device_template ."/{\$address}")) {
$file = "{\$address}";
}
if (file_exists($template_dir."/".$device_template ."/{\$mac}")) {
elseif (file_exists($template_dir."/".$device_template ."/{\$address}.xml")) {
$file = "{\$address}.xml";
}
elseif (file_exists($template_dir."/".$device_template ."/{\$mac}")) {
$file = "{\$mac}";
}
elseif (file_exists($template_dir."/".$device_template ."/{\$mac}.xml")) {