aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-05-07 00:35:43 +0000
committerplegall <plg@piwigo.org>2010-05-07 00:35:43 +0000
commit7c460b8258ef21bdd4a9aa12e8107bbce61ab99e (patch)
tree92442763da2d670fc35a3fa3d71335d896b27bd5 /admin/include
parent48ab33321212614bb37e180f17c84139665de7d1 (diff)
constants should not contain - but _
git-svn-id: http://piwigo.org/svn/trunk@6091 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/c13y_internal.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/c13y_internal.class.php b/admin/include/c13y_internal.class.php
index bb05c316b..820683bff 100644
--- a/admin/include/c13y_internal.class.php
+++ b/admin/include/c13y_internal.class.php
@@ -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)