소스 검색

fixing upgrade for pkgs not to display svn

Richard Neese 11 년 전
부모
커밋
db14b19928
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/upgrade/index.php

+ 1 - 1
core/upgrade/index.php

@@ -55,7 +55,7 @@ if (sizeof($_POST) > 0) {
 	$do = $_POST['do'];
 	$do = $_POST['do'];
 
 
 	// run svn update
 	// run svn update
-	if ($do["svn"] && permission_exists("upgrade_svn") && !is_dir("/usr/share/fusionpbx")) {
+	if ($do["svn"] && permission_exists("upgrade_svn") && !is_dir("/var/lib/fusionpbx")) {
 		$cmd = "svn up /var/www/fusionpbx";
 		$cmd = "svn up /var/www/fusionpbx";
 		exec($cmd, $response_svn_update);
 		exec($cmd, $response_svn_update);
 		if (sizeof($response_svn_update) > 0) {
 		if (sizeof($response_svn_update) > 0) {