config.default.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. /**
  3. * Insipid
  4. * Personal web-bookmark-system
  5. *
  6. * Copyright 2016-2020 Johannes Keßler
  7. *
  8. * Development starting from 2011: Johannes Keßler
  9. * https://www.bananas-playground.net/projekt/insipid/
  10. *
  11. * creator:
  12. * Luke Reeves <luke@neuro-tech.net>
  13. *
  14. * This program is free software: you can redistribute it and/or modify
  15. * it under the terms of the GNU General Public License as published by
  16. * the Free Software Foundation, either version 3 of the License, or
  17. * (at your option) any later version.
  18. *
  19. * This program is distributed in the hope that it will be useful,
  20. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  22. * GNU General Public License for more details.
  23. *
  24. * You should have received a copy of the GNU General Public License
  25. * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0.
  26. *
  27. */
  28. # database config
  29. define('DB_HOST','127.0.0.1'); # Address of the database server
  30. define('DB_USERNAME','user'); # Username to access the database server and database itself
  31. define('DB_PASSWORD','test'); # Password for username
  32. define('DB_NAME','insipid'); # Database name on your database server
  33. define('DB_PREFIX','insipid'); # a _ is added automatically as separation
  34. # user config
  35. define('FRONTEND_USERNAME','luke');
  36. define('FRONTEND_PASSWORD','father');
  37. # absolute path of webroot
  38. define('ABSOLUTE_PATH', '/path/to/insipid/webroot');
  39. # relative to absolute path the name of the storage folder
  40. define('LOCAL_STORAGE', 'localdata');
  41. # complete restricted access not only the private links or the edit functions
  42. # username and password see above
  43. define("USE_PAGE_AUTH",false);
  44. # results per page
  45. define("RESULTS_PER_PAGE",12);
  46. # language setting
  47. # default is eng
  48. # valid values to match the files are: https://de.wikipedia.org/wiki/ISO_639#ISO_639-3
  49. define('FRONTEND_LANGUAGE','eng');
  50. # if the location of email-import.php needs to be in a web accessible folder
  51. # you can protect it by setting EMAIL_JOB_PROTECT to true
  52. # and EMAIL_JOB_PROTECT_SECRET to a special secret string
  53. # AND remove the default provided .htaccess file in the job folder
  54. define('EMAIL_JOB_PROTECT', false); # Default false
  55. define('EMAIL_JOB_PROTECT_SECRET', 'YOUR_SOME_SECRET_STRING'); # Your own secret string
  56. # settings for importing from e-mail
  57. # SSL/TLS only
  58. # IMAP (reading), SMTP (sending)
  59. define('EMAIL_SERVER','');
  60. define('EMAIL_SERVER_USER','');
  61. define('EMAIL_SERVER_PASS','');
  62. define('EMAIL_SERVER_PORT_IMAP',993);
  63. define('EMAIL_SERVER_PORT_SMTP',465);
  64. define('EMAIL_SERVER_MAILBOX','INBOX'); # default INBOX
  65. define('EMAIL_MARKER','to-insipid- ');
  66. define('EMAIL_ARCHIVE_FOLDER','archive');
  67. define('EMAIL_REPORT_BACK',false);
  68. define('EMAIL_REPLY_BACK_VALID','');
  69. define('EMAIL_REPLY_BACK_ADDRESS','');
  70. define('EMAIL_REPLY_BACK_SUBJECT','Insipid email import response');
  71. # Use wkhtmltopdf to create a whole page screenshot of a given link
  72. define('WKHTMLTOPDF_USE',false);
  73. define('WKHTMLTOPDF_COMMAND','/absolute/path/to/wkhtmltoimage');