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
This commit is contained in:
2015-03-21 16:09:05 +00:00
parent 843f0d4f42
commit fc40f729b2

View File

@@ -1242,8 +1242,8 @@ class routeSQL
@header ($_SERVER["SERVER_PROTOCOL"]." $getCode ". @header ($_SERVER["SERVER_PROTOCOL"]." $getCode ".
$http->codetext ($getCode)); $http->codetext ($getCode));
$class = "output$extension"; $class = "output$extension";
$json = new $class (); $result = new $class ();
echo $json->out ($data); echo $result->out ($data)."\n";
exit; exit;
} }
} }