Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix Internal Server Error @ /settings/admin/serverinfo in 21.0.0
Fixes: #278
Signed-off-by: Viktor Szakats <[email protected]>
  • Loading branch information
vszakats committed Mar 2, 2021
commit 5be757e33d8b151c83082dea03fba001422e78ec
2 changes: 1 addition & 1 deletion lib/DatabaseStatistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ protected function databaseSize() {
if (file_exists($this->config->getSystemValue('dbhost'))) {
$database_size = filesize($this->config->getSystemValue('dbhost'));
} else {
$params = $this->connection->getParams();
$params = $this->connection->getInner()->getParams();
if (file_exists($params['path'])) {
$database_size = filesize($params['path']);
}
Expand Down