Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...) http://blog.slucas.fr/en/oss/calibre-opds-php-server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
568B

  1. <?php
  2. if (!isset($config))
  3. $config = array();
  4. /*
  5. * The directory containing calibre's metadata.db file, with sub-directories
  6. * containing all the formats.
  7. * BEWARE : it has to end with a /
  8. */
  9. $config['calibre_directory'] = './';
  10. /*
  11. * Catalog's title
  12. */
  13. $config['cops_title_default'] = "COPS";
  14. /*
  15. * use URL rewriting for downloading of ebook in HTML catalog
  16. * See README for more information
  17. * 1 : enable
  18. * 0 : disable
  19. */
  20. $config['cops_use_url_rewriting'] = "0";