Commit b2c5a8c8 authored by webchick's avatar webchick

#875674 by pwolanin, jbrown: Report DB version in Status report.

parent 8172877a
......@@ -188,6 +188,19 @@ function system_requirements($phase) {
$requirements['database_extensions']['value'] = $t('Enabled');
}
}
else {
// Database information.
$class = 'DatabaseTasks_' . Database::getConnection()->driver();
$tasks = new $class();
$requirements['database_system'] = array(
'title' => $t('Database system'),
'value' => $tasks->name(),
);
$requirements['database_system_version'] = array(
'title' => $t('Database system version'),
'value' => Database::getConnection()->version(),
);
}
// Test PHP memory_limit
$memory_limit = ini_get('memory_limit');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment