Explorar o código

Fix the copy for the freeswitch conf directory which is done during the install.

Mark Crane %!s(int64=11) %!d(string=hai) anos
pai
achega
3beae2030d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/install.php

+ 1 - 1
resources/install.php

@@ -1276,7 +1276,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
 				if (file_exists($switch_conf_dir)) {
 				if (file_exists($switch_conf_dir)) {
 					$src_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/templates/conf";
 					$src_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/templates/conf";
 					$dst_dir = $switch_conf_dir;
 					$dst_dir = $switch_conf_dir;
-					if (!file_exists("/etc/freeswitch/freeswitch.xml")) {
+					if (!file_exists("/etc/freeswitch/vars.xml")) {
 						if (is_readable($dst_dir)) {
 						if (is_readable($dst_dir)) {
 							$install->recursive_copy($src_dir, $dst_dir);
 							$install->recursive_copy($src_dir, $dst_dir);
 						}
 						}