fixing upgrade for pkgs not to display svn

This commit is contained in:
Richard Neese
2014-10-23 16:59:48 +00:00
parent 4fd5e7d3a7
commit 9296f66977

View File

@@ -55,7 +55,7 @@ if (sizeof($_POST) > 0) {
$do = $_POST['do'];
// 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";
exec($cmd, $response_svn_update);
if (sizeof($response_svn_update) > 0) {