2013-12-05 11:50:53 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* 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>
|
|
|
|
*
|
|
|
|
*/
|
2013-12-05 11:52:51 +02:00
|
|
|
|
2013-12-05 11:50:53 +02:00
|
|
|
require_once ("config.php");
|
2014-01-07 22:22:35 +02:00
|
|
|
require_once ("JSON_renderer.php");
|
2013-12-05 11:52:51 +02:00
|
|
|
|
2013-12-05 11:50:53 +02:00
|
|
|
header ("Content-Type:application/json;charset=utf-8");
|
2013-12-05 11:52:51 +02:00
|
|
|
|
|
|
|
|
2014-01-07 22:22:35 +02:00
|
|
|
echo json_encode (JSONRenderer::getJson ());
|
2013-12-05 11:50:53 +02:00
|
|
|
|