diff --git a/app/dialplan/app_defaults.php b/app/dialplan/app_defaults.php
index 286d5172df..7dbdfb6ae3 100644
--- a/app/dialplan/app_defaults.php
+++ b/app/dialplan/app_defaults.php
@@ -78,8 +78,8 @@
if (is_dir($_SESSION['switch']['dialplan']['dir'])) {
//write the dialplan/default.xml if it does not exist
//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';
diff --git a/app/dialplan/resources/classes/dialplan.php b/app/dialplan/resources/classes/dialplan.php
index 7be3d114bc..0ced365c3d 100644
--- a/app/dialplan/resources/classes/dialplan.php
+++ b/app/dialplan/resources/classes/dialplan.php
@@ -182,8 +182,8 @@ include "root.php";
$switch_dialplan_dir = $this->switch_dialplan_dir;
if (is_dir($switch_dialplan_dir)) {
//copy resources/templates/conf to the freeswitch conf dir
- if (file_exists('/usr/share/fusionpbx/resources/templates/conf')){
- $src_dir = "/usr/share/fusionpbx/resources/templates/conf";
+ if (file_exists('/usr/share/examples/fusionpbx/resources/templates/conf')){
+ $src_dir = "/usr/share/examples/fusionpbx/resources/templates/conf";
}
else {
$src_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/templates/conf";
diff --git a/app/sip_profiles/app_defaults.php b/app/sip_profiles/app_defaults.php
index df74222d55..f79bb844c6 100644
--- a/app/sip_profiles/app_defaults.php
+++ b/app/sip_profiles/app_defaults.php
@@ -33,7 +33,7 @@
if (file_exists('/etc/fusionpbx')) {
//linux
$custom = '/etc/fusionpbx/resources/templates/conf/sip_profiles';
- $source = '/usr/share/fusionpbx/resources/templates/conf/sip_profiles';
+ $source = '/usr/share/examples/fusionpbx/resources/templates/conf/sip_profiles';
}
if (file_exists('/usr/local/etc/fusionpbx')) {
//bsd
diff --git a/core/upgrade/index.php b/core/upgrade/index.php
index 8748e0b2f5..f74f6da62c 100644
--- a/core/upgrade/index.php
+++ b/core/upgrade/index.php
@@ -122,7 +122,7 @@ echo "
";
echo "