Explorar o código

working on upgrade page svn issue wiht pkgs

Richard Neese %!s(int64=11) %!d(string=hai) anos
pai
achega
f0750c21f6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/upgrade/index.php

+ 1 - 1
core/upgrade/index.php

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