mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-21 18:36:31 +00:00
fixing /usr/share/fusionpbx to be /usr/share/examples/fusionpbx
This commit is contained in:
@@ -2965,8 +2965,8 @@ if (!function_exists('save_call_center_xml')) {
|
||||
}
|
||||
|
||||
//set the path
|
||||
if (file_exists('/usr/share/fusionpbx/resources/templates/conf')) {
|
||||
$path = "/usr/share/fusionpbx/resources/templates/conf";
|
||||
if (file_exists('/usr/share/examples/fusionpbx/resources/templates/conf')) {
|
||||
$path = "/usr/share/examples/fusionpbx/resources/templates/conf";
|
||||
}
|
||||
else {
|
||||
$path = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/templates/conf";
|
||||
@@ -3006,8 +3006,8 @@ if (!function_exists('switch_conf_xml')) {
|
||||
global $db, $domain_uuid;
|
||||
|
||||
//get the contents of the template
|
||||
if (file_exists('/usr/share/fusionpbx/resources/templates/conf')) {
|
||||
$path = "/usr/share/fusionpbx/resources/templates/conf";
|
||||
if (file_exists('/usr/share/examples/fusionpbx/resources/templates/conf')) {
|
||||
$path = "/usr/share/examples/fusionpbx/resources/templates/conf";
|
||||
}
|
||||
else {
|
||||
$path = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/templates/conf";
|
||||
@@ -3053,8 +3053,8 @@ if (!function_exists('xml_cdr_conf_xml')) {
|
||||
global $db, $domain_uuid;
|
||||
|
||||
//get the contents of the template
|
||||
if (file_exists('/usr/share/fusionpbx/resources/templates/conf')) {
|
||||
$path = "/usr/share/fusionpbx/resources/templates/conf";
|
||||
if (file_exists('/usr/share/examples/fusionpbx/resources/templates/conf')) {
|
||||
$path = "/usr/share/examples/fusionpbx/resources/templates/conf";
|
||||
}
|
||||
else {
|
||||
$path = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/templates/conf";
|
||||
|
||||
Reference in New Issue
Block a user