Ignore:
Timestamp:
Nov 29, 2009, 1:35:19 PM (14 years ago)
Author:
nikrou
Message:

Feature_1255 :

  • single quotes in queries
  • start using $confdblayer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/c13y_internal.class.php

    r4325 r4385  
    3939  function c13y_version($c13y)
    4040  {
     41    global $conf;
     42
    4143    $check_list = array();
    4244
     
    4446
    4547    $db_version = pwg_get_db_version();
    46     $check_list[] = array('type' => 'MySQL', 'current' => $db_version, 'required' => REQUIRED_MYSQL_VERSION);
     48    $check_list[] = array('type' => $conf['dblayer'],
     49                          'current' => $db_version,
     50                          'required' => constant('REQUIRED_'.strtoupper($conf['dblayer']).'_VERSION')
     51                          );
    4752
    4853    foreach ($check_list as $elem)
Note: See TracChangeset for help on using the changeset viewer.