Merge pull request #1212 from Alkarex/json-php5.3

Define JSON_UNESCAPED_UNICODE for PHP 5.3.3
This commit is contained in:
Alexandre Alapetite
2016-08-14 22:42:19 +02:00
committed by GitHub

View File

@@ -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) {