diff options
| author | 2016-08-14 19:34:44 +0200 | |
|---|---|---|
| committer | 2016-08-14 19:34:44 +0200 | |
| commit | 46bcaf5f9d224c5fae8f8c92a738f78a764c6405 (patch) | |
| tree | 9a1075d1312a78fdfad76c2435bd612a0d7e287c /lib/lib_rss.php | |
| parent | 722c0cb8b255e700282e080fde4aec241e7ccfa3 (diff) | |
Define JSON_UNESCAPED_UNICODE for PHP 5.3
https://github.com/FreshRSS/FreshRSS/issues/1208
Diffstat (limited to 'lib/lib_rss.php')
| -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) { |
