mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-09 10:13:00 +02:00
Feature_1255 :
- single quotes in queries - start using $conf['dblayer'] git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user