summaryrefslogtreecommitdiffstats
path: root/package/mono/0005-eglib-checking-for-locale_charset-function.patch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2016-06-12 12:48:24 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-12 18:38:39 +0200
commit30e572df3142f7c149befa9f49730c4d8d4479ba (patch)
tree9b04bc04ed76986a6c269807b2482d5f535a6374 /package/mono/0005-eglib-checking-for-locale_charset-function.patch
parentc2d8af430d6ed9b52117e2546d7a4ae8a51d2f87 (diff)
downloadbuildroot-30e572df3142f7c149befa9f49730c4d8d4479ba.tar.gz
buildroot-30e572df3142f7c149befa9f49730c4d8d4479ba.zip
package/php: fix date.timezone
In 5f37843a (php.ini: set date.timezone), the configured timezone was used as the default for PHP. However, BR2_TARGET_LOCALTIME is a string, so is quoted, so it is never empty, so the check for emptynessnever matches. Fix that by q-stripping the value before testing it. Note however that we do not q-strip it before storing it in the php.ini file, because it has to be q-stripped in there. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mono/0005-eglib-checking-for-locale_charset-function.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud