mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
constants should not contain - but _
git-svn-id: http://piwigo.org/svn/trunk@6091 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -47,7 +47,7 @@ class c13y_internal
|
||||
$db_version = pwg_get_db_version();
|
||||
$check_list[] = array('type' => $conf['dblayer'],
|
||||
'current' => $db_version,
|
||||
'required' => constant('REQUIRED_'.strtoupper($conf['dblayer']).'_VERSION')
|
||||
'required' => constant('REQUIRED_'.str_replace('-', '_', strtoupper($conf['dblayer'])).'_VERSION')
|
||||
);
|
||||
|
||||
foreach ($check_list as $elem)
|
||||
|
||||
Reference in New Issue
Block a user