Update app_defaults.php

This commit is contained in:
FusionPBX 2024-10-16 11:53:45 -06:00 committed by GitHub
parent 3b8309af11
commit 5c9658334c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 26 additions and 18 deletions

View File

@ -25,6 +25,12 @@
*/
if ($domains_processed == 1) {
//add the variables to the database
$sql = "select count(*) from v_number_translations ";
$num_rows = $database->select($sql, null, 'column');
unset($sql);
if ($num_rows == 0) {
//get the array of xml files
$xml_list = glob($_SERVER["PROJECT_ROOT"] . "/*/*/resources/switch/conf/number_translation/*.xml");
@ -63,7 +69,9 @@
}
}
}
}
}
?>