mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-17 05:46:26 -04:00
Merge pull request #1212 from Alkarex/json-php5.3
Define JSON_UNESCAPED_UNICODE for PHP 5.3.3
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user