diff options
| author | 2016-08-14 22:42:19 +0200 | |
|---|---|---|
| committer | 2016-08-14 22:42:19 +0200 | |
| commit | 52fea863c19d5469d3730853d18c5535e4ddf308 (patch) | |
| tree | a88508b218f3b927bb2a3370fb343d5a5041968d /lib | |
| parent | 02478a1052195746596876497c49b07b1986be98 (diff) | |
| parent | 46bcaf5f9d224c5fae8f8c92a738f78a764c6405 (diff) | |
Merge pull request #1212 from Alkarex/json-php5.3
Define JSON_UNESCAPED_UNICODE for PHP 5.3.3
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_rss.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index b5ba78889..986dc1fb6 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -15,6 +15,8 @@ if (!function_exists('json_encode')) { } } +defined('JSON_UNESCAPED_UNICODE') or define('JSON_UNESCAPED_UNICODE', 256); //PHP 5.3 + if (!function_exists('array_replace_recursive')) { //PHP 5.2 function arr_recurse($array, $array1) { foreach ($array1 as $key => $value) { |
