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