Update app_defaults.php
This commit is contained in:
parent
16515b1a81
commit
d4cc8600e6
|
|
@ -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 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue