1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?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> * */ require_once('config.php'); header('Content-Type:application/json;charset=utf-8'); echo json_encode(JSONRenderer::getJson());