Also collect the database engine shimmie is using.

This commit is contained in:
green-ponies (jgen) 2012-02-04 10:55:37 -05:00
parent aac7ce6e78
commit 1a8c2d31c7
2 changed files with 2 additions and 0 deletions

View file

@ -41,6 +41,7 @@ class ET extends SimpleExtension {
$info['sys_shimmie'] = VERSION;
$info['sys_schema'] = $config->get_string("db_version");
$info['sys_php'] = phpversion();
$info['sys_db'] = $database->db->getAttribute(PDO::ATTR_DRIVER_NAME);
$info['sys_os'] = php_uname();
$info['sys_disk'] = to_shorthand_int(disk_total_space("./") - disk_free_space("./")) . " / " .
to_shorthand_int(disk_total_space("./"));

View file

@ -28,6 +28,7 @@ Shimmie: {$info['sys_shimmie']}
Schema: {$info['sys_schema']}
PHP: {$info['sys_php']}
OS: {$info['sys_os']}
Database: {$info['sys_db']}
Server: {$info['sys_server']}
Disk use: {$info['sys_disk']}