summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-12 09:52:00 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-12 09:52:00 -0500
commitb061945f0e716a026fe722d5f0ba04f86982d3fc (patch)
tree6dd41cc43967d2cb6dfbcaf3ded878f1702a0638 /app/Controller
parent241ca53e4705c389b40c3a133727a2833085ae28 (diff)
Show server configuration in settings page
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controller/Config.php b/app/Controller/Config.php
index e811f870..a1b8c2af 100644
--- a/app/Controller/Config.php
+++ b/app/Controller/Config.php
@@ -61,6 +61,8 @@ class Config extends Base
{
$this->response->html($this->helper->layout->config('config/about', array(
'db_size' => $this->config->getDatabaseSize(),
+ 'db_version' => $this->db->getDriver()->getDatabaseVersion(),
+ 'user_agent' => $this->request->getServerVariable('HTTP_USER_AGENT'),
'title' => t('Settings').' &gt; '.t('About'),
)));
}