From fc40f729b2c61b531e1daec1978233e217b023cc Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Sat, 21 Mar 2015 16:09:05 +0000 Subject: [PATCH] routeSQL : Add a CR/LF to the end of JSON/XML outputs git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2039 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- routeSQL.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routeSQL.php b/routeSQL.php index f3f2cce..8af8776 100644 --- a/routeSQL.php +++ b/routeSQL.php @@ -1242,8 +1242,8 @@ class routeSQL @header ($_SERVER["SERVER_PROTOCOL"]." $getCode ". $http->codetext ($getCode)); $class = "output$extension"; - $json = new $class (); - echo $json->out ($data); + $result = new $class (); + echo $result->out ($data)."\n"; exit; } }