From b061945f0e716a026fe722d5f0ba04f86982d3fc Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 12 Mar 2016 09:52:00 -0500 Subject: Show server configuration in settings page --- app/Controller/Config.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Controller') 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').' > '.t('About'), ))); } -- cgit v1.2.3