浏览代码

On Debian or Ubuntu the /etc/init.d seems to require /etc/freeswitch this causes a problem source compiled systems changing the directory to detect if its a package install to /etc/freeswitch/dialplan.

Mark Crane 12 年之前
父节点
当前提交
28d13f1757
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/install.php

+ 1 - 1
resources/install.php

@@ -148,7 +148,7 @@ require_once "resources/functions.php";
 				if (file_exists('/usr/bin')) {
 					$switch_bin_dir = '/usr/bin'; //freeswitch bin directory
 				}
-				if (file_exists('/etc/freeswitch')) {
+				if (file_exists('/etc/freeswitch/dialplan')) {
 					$switch_conf_dir = '/etc/freeswitch';
 					$switch_extensions_dir = $switch_conf_dir.'/directory';
 					$switch_gateways_dir = $switch_conf_dir.'/sip_profiles';