Merge pull request #105 from green-ponies/master

Collect the Database engine as well
This commit is contained in:
Shish Moom 2012-02-04 15:31:04 -08:00
commit 5b741feb9f
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']}