From a935f6e5f9b2e9b2002f2f5bd76c95413e2954bb Mon Sep 17 00:00:00 2001 From: David M Date: Sat, 28 Jul 2007 04:05:43 +0000 Subject: - add database size for Firebird git-svn-id: file:///svn/phpbb/trunk@7965 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_admin.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'phpBB/includes/functions_admin.php') 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; -- cgit v1.2.1