From 1a8c2d31c7ea760a325f0ed9d40272f8990435dd Mon Sep 17 00:00:00 2001 From: "green-ponies (jgen)" Date: Sat, 4 Feb 2012 10:55:37 -0500 Subject: [PATCH] Also collect the database engine shimmie is using. --- contrib/et/main.php | 1 + contrib/et/theme.php | 1 + 2 files changed, 2 insertions(+) diff --git a/contrib/et/main.php b/contrib/et/main.php index 0c4563ab..dd6babe2 100644 --- a/contrib/et/main.php +++ b/contrib/et/main.php @@ -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("./")); diff --git a/contrib/et/theme.php b/contrib/et/theme.php index 4df216c1..1c5b00ae 100644 --- a/contrib/et/theme.php +++ b/contrib/et/theme.php @@ -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']}