Update app_defaults.php
This commit is contained in:
parent
3b8309af11
commit
5c9658334c
|
|
@ -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 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue