Update app_defaults.php
This commit is contained in:
@@ -25,6 +25,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if ($domains_processed == 1) {
|
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
|
//get the array of xml files
|
||||||
$xml_list = glob($_SERVER["PROJECT_ROOT"] . "/*/*/resources/switch/conf/number_translation/*.xml");
|
$xml_list = glob($_SERVER["PROJECT_ROOT"] . "/*/*/resources/switch/conf/number_translation/*.xml");
|
||||||
|
|
||||||
@@ -63,7 +69,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user