Show server configuration in settings page

This commit is contained in:
Frederic Guillot
2016-03-12 09:52:00 -05:00
parent 241ca53e47
commit b061945f0e
5 changed files with 56 additions and 25 deletions

View File

@@ -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'),
)));
}