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