fixing upgrade for pkgs not to display svn
This commit is contained in:
parent
4fd5e7d3a7
commit
9296f66977
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue