Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2014-03-25 17:29:53 +01:00
commit 6eed495e6c
2 changed files with 3 additions and 2 deletions

View File

@ -45,6 +45,7 @@ phpMyAdmin - ChangeLog
- bug #4334 Add event : datepicker won't open
- bug #4338 Fix missing value error while executing SQL query
- TCPDF library is now optional dependency
- bug #4326 Cannot find the import plugins which start with uppercase 'I'
4.1.11.0 (2014-03-23)
- bug #4335 reCaptcha problem (4.1.10 regression)

View File

@ -62,8 +62,8 @@ function PMA_getPlugins($plugin_type, $plugins_dir, $plugin_param)
// (for example ._csv.php) so the following regexp
// matches a file which does not start with a dot but ends
// with ".php"
$class_type = strtoupper($plugin_type[0])
. strtolower(substr($plugin_type, 1));
$class_type = mb_strtoupper($plugin_type[0], 'UTF-8')
. mb_strtolower(substr($plugin_type, 1), 'UTF-8');
if (is_file($plugins_dir . $file)
&& preg_match(
'@^' . $class_type . '(.+)\.class\.php$@i',