Merge pull request #105 from green-ponies/master
Collect the Database engine as well
This commit is contained in:
commit
5b741feb9f
@ -41,6 +41,7 @@ class ET extends SimpleExtension {
|
|||||||
$info['sys_shimmie'] = VERSION;
|
$info['sys_shimmie'] = VERSION;
|
||||||
$info['sys_schema'] = $config->get_string("db_version");
|
$info['sys_schema'] = $config->get_string("db_version");
|
||||||
$info['sys_php'] = phpversion();
|
$info['sys_php'] = phpversion();
|
||||||
|
$info['sys_db'] = $database->db->getAttribute(PDO::ATTR_DRIVER_NAME);
|
||||||
$info['sys_os'] = php_uname();
|
$info['sys_os'] = php_uname();
|
||||||
$info['sys_disk'] = to_shorthand_int(disk_total_space("./") - disk_free_space("./")) . " / " .
|
$info['sys_disk'] = to_shorthand_int(disk_total_space("./") - disk_free_space("./")) . " / " .
|
||||||
to_shorthand_int(disk_total_space("./"));
|
to_shorthand_int(disk_total_space("./"));
|
||||||
|
@ -28,6 +28,7 @@ Shimmie: {$info['sys_shimmie']}
|
|||||||
Schema: {$info['sys_schema']}
|
Schema: {$info['sys_schema']}
|
||||||
PHP: {$info['sys_php']}
|
PHP: {$info['sys_php']}
|
||||||
OS: {$info['sys_os']}
|
OS: {$info['sys_os']}
|
||||||
|
Database: {$info['sys_db']}
|
||||||
Server: {$info['sys_server']}
|
Server: {$info['sys_server']}
|
||||||
Disk use: {$info['sys_disk']}
|
Disk use: {$info['sys_disk']}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user