diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index cafc139b36..2e86f5142f 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -289,6 +289,7 @@ p a {
  • [Fix] Disallow post/pm subjects entirely made up from non-printable chars and whitespaces (Bug #13800)
  • [Fix] Allow moving private messages from the sentbox (Bug #13791)
  • [Fix] Properly export localized imagesets
  • +
  • [Feature] Show the size of Firebird databases
  • diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 2c3eb61dce..29d52406da 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -2792,6 +2792,17 @@ function get_database_size() } break; + case 'firebird': + global $dbname; + + // if it on the local machine, we can get lucky + if (file_exists($dbname)) + { + $database_size = filesize($dbname); + } + + break; + case 'sqlite': global $dbhost;