Skip to content

Commit

Permalink
Merge pull request #1639 from maggienegm/fix-sensitive-info-display
Browse files Browse the repository at this point in the history
removed sensitive info output in backup.php
  • Loading branch information
muarachmann authored Jul 19, 2021
2 parents 35bb707 + 117942c commit 1557e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/main/backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ function gzopen($filename, $mode, $use_include_path = 0)
$res=sqlStatement("drop table if exists log");
$res=sqlStatement("rename table log_backup to log");
}
die("\"$cmd\" returned $tmp2: $tmp0");
die("Return Status: $tmp2, Output: $tmp0");
}
// ViSolve: If the Eventlog is set, then clear the temporary table -- Start here
if ($eventlog==1) {
Expand Down Expand Up @@ -639,7 +639,7 @@ function create_tar_archive($archiveName, $compressMethod, $itemArray) {
$command = "tar -cpf $archiveName $files";
}
$temp0 = exec($command, $temp1, $temp2);
if ($temp2) die("\"$command\" returned $temp2: $temp0");
if ($temp2) die("Return Status: $temp2, Output: $temp0");
return true;
}
return false;
Expand Down

0 comments on commit 1557e7f

Please sign in to comment.