mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
--enable-mbstr-enc-trans is abolished to prevent some problems about POST/GET/Cookie variables. the same functionality is controllable in php.ini option mbstring.encoding_translation (default:Off).
This commit is contained in:
parent
1c5841d376
commit
7678ada2b8
@ -31,8 +31,6 @@ if test "$PHP_MBSTRING" != "no"; then
|
||||
AC_DEFINE(HAVE_MBSTR_RU,1,[whether to have russian support])
|
||||
fi
|
||||
PHP_NEW_EXTENSION(mbstring, mbfilter_ja.c mbfilter_cn.c mbfilter_tw.c mbfilter_kr.c mbfilter_ru.c mbfilter.c mbstring.c mbregex.c php_mbregex.c html_entities.c, $ext_shared)
|
||||
else
|
||||
PHP_MBSTR_ENC_TRANS=no
|
||||
fi
|
||||
|
||||
|
||||
@ -43,10 +41,5 @@ if test "$MBREGEX" != "no" ; then
|
||||
AC_DEFINE(HAVE_MBREGEX, 1, [whether to have multibyte regex support])
|
||||
fi
|
||||
|
||||
PHP_ARG_ENABLE(mbstr_enc_trans, whether to enable encoding translation,
|
||||
[ --enable-mbstr-enc-trans Enable input encoding translation], no)
|
||||
|
||||
if test "$PHP_MBSTR_ENC_TRANS" != "no" ; then
|
||||
AC_DEFINE(MBSTR_ENC_TRANS, 1, [whether to have encoding translation])
|
||||
fi
|
||||
|
||||
|
@ -48,7 +48,6 @@
|
||||
#define HAVE_MBSTR_KR 1
|
||||
#define HAVE_MBSTR_RU 1
|
||||
#define HAVE_MBSTR_TW 1
|
||||
#define MBSTR_ENC_TRANS 1
|
||||
|
||||
/* Enable / Disable MySQL extension (default: enabled) */
|
||||
#define HAVE_MYSQL 1
|
||||
|
Loading…
Reference in New Issue
Block a user