Move the references to includes/templates to resources/templates.

This commit is contained in:
Mark Crane
2013-06-09 05:05:17 +00:00
parent e02ac39270
commit 3723001194
14 changed files with 40 additions and 40 deletions

View File

@@ -48,7 +48,7 @@
if (is_dir($_SESSION['switch']['dialplan']['dir'])) {
//write the dialplan/default.xml if it does not exist
//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