mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
- add database size for Firebird
git-svn-id: file:///svn/phpbb/trunk@7965 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user