From a86effd742479ceb932b26d3c0fd0a1185b88ada Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 29 Sep 2006 13:04:17 +0000 Subject: [PATCH] bug #1566904, typo --- ChangeLog | 2 ++ libraries/database_interface.lib.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6c0a79ef6..2ffddc0c6 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ $Source$ 2006-09-29 Marc Delisle * libraries/grab_globals.lib.php: fix attack via _FILES, thanks to Stefan Esser + * libraries/database_interface.lib.php, bug #1566904, typo in require, + thanks to Björn Wiberg - bwiberg. 2006-09-27 Marc Delisle * libraries/common.lib.php, /session.inc.php, /url_generating.lib.php: diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php index 2f42880eb..0792260da 100644 --- a/libraries/database_interface.lib.php +++ b/libraries/database_interface.lib.php @@ -145,7 +145,7 @@ function PMA_DBI_convert_message( $message ) { if ( ! empty( $server_language ) && isset( $encodings[$server_language] ) ) { if ( function_exists( 'iconv' ) ) { if ((@stristr(PHP_OS, 'AIX')) && (@strcasecmp(ICONV_IMPL, 'unknown') == 0) && (@strcasecmp(ICONV_VERSION, 'unknown') == 0)) { - require_once('./liraries/iconv_wrapper.lib.php'); + require_once('./libraries/iconv_wrapper.lib.php'); $message = PMA_aix_iconv_wrapper( $encodings[$server_language], $GLOBALS['charset'] . $GLOBALS['cfg']['IconvExtraParams'], $message); } else {