mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Move the references to includes/templates to resources/templates.
This commit is contained in:
@@ -180,7 +180,7 @@ include "root.php";
|
||||
|
||||
function copy_phrases() {
|
||||
clearstatcache();
|
||||
$src_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/includes/templates/conf/lang";
|
||||
$src_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/templates/conf/lang";
|
||||
$dst_dir = $this->switch_conf_dir."/lang";
|
||||
if (is_readable($this->switch_conf_dir)) {
|
||||
$this->recursive_copy($src_dir, $dst_dir);
|
||||
|
||||
@@ -178,7 +178,7 @@ include "root.php";
|
||||
$switch_dialplan_dir = $this->switch_dialplan_dir;
|
||||
if (is_dir($switch_dialplan_dir)) {
|
||||
//get the contents of the dialplan/default.xml
|
||||
$file_default_path = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/includes/templates/conf/dialplan/default.xml';
|
||||
$file_default_path = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/resources/templates/conf/dialplan/default.xml';
|
||||
$file_default_contents = file_get_contents($file_default_path);
|
||||
//prepare the file contents and the path
|
||||
if (count($_SESSION['domains']) < 2) {
|
||||
|
||||
Reference in New Issue
Block a user