Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System Information #19764

Merged
merged 4 commits into from
Feb 26, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
System Information
We had the db version and the db collation but not the type
This PR adds the database type eg postgresql, mysql etc
  • Loading branch information
brianteeman committed Feb 23, 2018
commit ace9dfb27b1b4a7517fbfc51713fb43ff129387c
1 change: 1 addition & 0 deletions administrator/components/com_admin/models/sysinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ public function &getInfo()
$this->info = array(
'php' => php_uname(),
'dbversion' => $db->getVersion(),
'serverType' => $db->getServerType(),
'dbcollation' => $db->getCollation(),
'dbconnectioncollation' => $db->getConnectionCollation(),
'phpversion' => phpversion(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
<?php echo $this->info['php']; ?>
</td>
</tr>
<tr>
<td>
<strong><?php echo JText::_('COM_ADMIN_DATABASE_TYPE'); ?></strong>
</td>
<td>
<?php echo $this->info['serverType']; ?>
</td>
</tr>
<tr>
<td>
<strong><?php echo JText::_('COM_ADMIN_DATABASE_VERSION'); ?></strong>
Expand Down
1 change: 1 addition & 0 deletions administrator/language/en-GB/en-GB.com_admin.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ COM_ADMIN_CLEAR_RESULTS="Clear results"
COM_ADMIN_CONFIGURATION_FILE="Configuration File"
COM_ADMIN_DATABASE_COLLATION="Database Collation"
COM_ADMIN_DATABASE_CONNECTION_COLLATION="Database Connection Collation"
COM_ADMIN_DATABASE_TYPE="Database Type"
COM_ADMIN_DATABASE_VERSION="Database Version"
COM_ADMIN_DIRECTORY="Folder"
COM_ADMIN_DIRECTORY_PERMISSIONS="Folder Permissions"
Expand Down