mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
fixing upgrade for pkgs not to display svn
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user