diff --git a/includes/functions.php b/includes/functions.php index 8b06b5b25..0ccf5a980 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -941,6 +941,9 @@ function validate_device_id($id) return($return); } +// The original source of this code is from Stackoverflow (www.stackoverflow.com). +// http://stackoverflow.com/questions/6054033/pretty-printing-json-with-php +// Answer provided by stewe (http://stackoverflow.com/users/3202187/ulk200 if (!defined('JSON_UNESCAPED_SLASHES')) define('JSON_UNESCAPED_SLASHES', 64); if (!defined('JSON_PRETTY_PRINT'))