constants should not contain - but _

git-svn-id: http://piwigo.org/svn/trunk@6091 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2010-05-07 00:35:43 +00:00
parent 48ab333212
commit 7c460b8258
+1 -1
View File
@@ -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)