Update destinations.php
This commit is contained in:
parent
0a414da71d
commit
98f32c27a5
|
|
@ -48,6 +48,9 @@ class destinations {
|
|||
//set the global variables
|
||||
global $db_type;
|
||||
|
||||
//get the destinations
|
||||
if (!is_array($this->destinations)) {
|
||||
|
||||
//get the array from the app_config.php files
|
||||
$config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_config.php");
|
||||
$x = 0;
|
||||
|
|
@ -134,6 +137,7 @@ class destinations {
|
|||
$this->destinations[$x]['result']['data'][$y]['name'] = '*732';
|
||||
$this->destinations[$x]['result']['data'][$y]['destination'] = '*732 XML ${context}';
|
||||
$y++;
|
||||
}
|
||||
|
||||
//remove special characters from the name
|
||||
$destination_id = str_replace("]", "", $destination_name);
|
||||
|
|
|
|||
Loading…
Reference in New Issue