mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 15:45:34 +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:
parent
a5327bcfe9
commit
a935f6e5f9
@ -289,6 +289,7 @@ p a {
|
|||||||
<li>[Fix] Disallow post/pm subjects entirely made up from non-printable chars and whitespaces (Bug #13800)</li>
|
<li>[Fix] Disallow post/pm subjects entirely made up from non-printable chars and whitespaces (Bug #13800)</li>
|
||||||
<li>[Fix] Allow moving private messages from the sentbox (Bug #13791)</li>
|
<li>[Fix] Allow moving private messages from the sentbox (Bug #13791)</li>
|
||||||
<li>[Fix] Properly export localized imagesets</li>
|
<li>[Fix] Properly export localized imagesets</li>
|
||||||
|
<li>[Feature] Show the size of Firebird databases</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -2792,6 +2792,17 @@ function get_database_size()
|
|||||||
}
|
}
|
||||||
break;
|
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':
|
case 'sqlite':
|
||||||
global $dbhost;
|
global $dbhost;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user