From 4b16b0e4d2e60efd0c10beb0db97890cf4046c05 Mon Sep 17 00:00:00 2001 From: laf Date: Tue, 7 Oct 2014 11:29:54 +0100 Subject: [PATCH] Added missing source for code --- includes/functions.php | 3 +++ 1 file changed, 3 insertions(+) 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'))