瀏覽代碼

Another minor adjustment.

markjcrane 9 年之前
父節點
當前提交
7ccff6c622
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/install/resources/classes/install_switch.php

+ 1 - 1
core/install/resources/classes/install_switch.php

@@ -241,7 +241,7 @@ include "root.php";
 			else {
 				$script_dir = $this->detect_switch->script_dir();
 			}
-			if (file_exists($script_dir())) {
+			if (file_exists($script_dir)) {
 				if (file_exists('/usr/share/examples/fusionpbx/resources/install/scripts')){
 					$src_dir = '/usr/share/examples/fusionpbx/resources/install/scripts';
 				}