Merge pull request #140 from miicha/patch-1

fix server side render
This commit is contained in:
Sébastien Lucas 2014-03-05 11:48:39 +01:00
commit 94072c440e

View file

@ -3,7 +3,7 @@
* COPS (Calibre OPDS PHP Server) HTML main script
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Sébastien Lucas <sebastien@slucas.fr>
* @author S<EFBFBD>bastien Lucas <sebastien@slucas.fr>
*
*/
@ -60,10 +60,11 @@
<?php
if (useServerSideRendering ()) {
// Get the data
$data = getJson (true);
require_once ("JSON_renderer.php");
$data = JSONRenderer::getJson (true);
echo serverSideRender ($data);
}
?>
</body>
</html>
</html>