diff options
Diffstat (limited to 'admin/include/c13y_internal.class.php')
-rw-r--r-- | admin/include/c13y_internal.class.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/admin/include/c13y_internal.class.php b/admin/include/c13y_internal.class.php index 1fe83c0df..7b20e24db 100644 --- a/admin/include/c13y_internal.class.php +++ b/admin/include/c13y_internal.class.php @@ -38,12 +38,17 @@ class c13y_internal */ function c13y_version($c13y) { + global $conf; + $check_list = array(); $check_list[] = array('type' => 'PHP', 'current' => phpversion(), 'required' => REQUIRED_PHP_VERSION); $db_version = pwg_get_db_version(); - $check_list[] = array('type' => 'MySQL', 'current' => $db_version, 'required' => REQUIRED_MYSQL_VERSION); + $check_list[] = array('type' => $conf['dblayer'], + 'current' => $db_version, + 'required' => constant('REQUIRED_'.strtoupper($conf['dblayer']).'_VERSION') + ); foreach ($check_list as $elem) { |