暫無描述
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.

var_www_wallabag_inc_poche_config.inc.php.j2 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. /**
  3. * wallabag, self hostable application allowing you to not miss any content anymore
  4. *
  5. * @category wallabag
  6. * @author Nicolas Lœuillet <nicolas@loeuillet.org>
  7. * @copyright 2013
  8. * @license http://www.wtfpl.net/ see COPYING file
  9. */
  10. define ('SALT', '{{ wallabag_salt }}'); # put a strong string here
  11. define ('LANG', 'en_EN.utf8');
  12. define ('STORAGE', 'postgres'); # postgres, mysql or sqlite
  13. define ('STORAGE_SQLITE', ROOT . '/db/poche.sqlite'); # if you are using sqlite, where the database file is located
  14. # only for postgres & mysql
  15. define ('STORAGE_SERVER', 'localhost');
  16. define ('STORAGE_DB', '{{ wallabag_db_database }}');
  17. define ('STORAGE_USER', '{{ wallabag_db_username }}');
  18. define ('STORAGE_PASSWORD', '{{ wallabag_db_password }}');
  19. #################################################################################
  20. # Do not trespass unless you know what you are doing
  21. #################################################################################
  22. // Change this if not using the standart port for SSL - i.e you server is behind sslh
  23. define ('SSL_PORT', 443);
  24. define ('MODE_DEMO', FALSE);
  25. define ('DEBUG_POCHE', FALSE);
  26. define ('DOWNLOAD_PICTURES', FALSE);
  27. define ('CONVERT_LINKS_FOOTNOTES', FALSE);
  28. define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE);
  29. define ('SHARE_TWITTER', TRUE);
  30. define ('SHARE_MAIL', TRUE);
  31. define ('SHARE_SHAARLI', FALSE);
  32. define ('SHAARLI_URL', 'http://myshaarliurl.com');
  33. define ('FLATTR', TRUE);
  34. define ('FLATTR_API', 'https://api.flattr.com/rest/v2/things/lookup/?url=');
  35. define ('NOT_FLATTRABLE', '0');
  36. define ('FLATTRABLE', '1');
  37. define ('FLATTRED', '2');
  38. define ('ABS_PATH', 'assets/');
  39. define ('DEFAULT_THEME', 'baggy');
  40. define ('THEME', ROOT . '/themes');
  41. define ('LOCALE', ROOT . '/locale');
  42. define ('CACHE', ROOT . '/cache');
  43. define ('PAGINATION', '10');
  44. //limit for download of articles during import
  45. define ('IMPORT_LIMIT', 5);
  46. //delay between downloads (in sec)
  47. define ('IMPORT_DELAY', 5);