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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user