config.default.php 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. #
  29. ## database config
  30. define('DB_HOST','127.0.0.1'); # Address of the database server
  31. define('DB_USERNAME','user'); # Username to access the database server and database itself
  32. define('DB_PASSWORD','test'); # Password for username
  33. define('DB_NAME','insipid'); # Database name on your database server
  34. define('DB_PREFIX','insipid'); # a _ is added automatically as separation
  35. # user config
  36. define('FRONTEND_USERNAME','luke');
  37. define('FRONTEND_PASSWORD','father');
  38. # absolute path of webroot
  39. define('ABSOLUTE_PATH', '/path/to/insipid/webroot');
  40. # relative to absolute path the name of the storage folder
  41. define('LOCAL_STORAGE', 'localdata');
  42. # complete restricted access not only the private links or the edit functions
  43. # username and password see above
  44. define("USE_PAGE_AUTH",false);
  45. # results per page
  46. define("RESULTS_PER_PAGE",12);
  47. # if the location of email-import.php needs to be in a web accessible folder
  48. # you can protect it by setting EMAIL_JOB_PROTECT to true
  49. # and EMAIL_JOB_PROTECT_SECRET to a special secret string
  50. # AND remove the default provided .htaccess file in the job folder
  51. define('EMAIL_JOB_PROTECT', false); # Default false
  52. define('EMAIL_JOB_PROTECT_SECRET', 'YOUR_SOME_SECRET_STRING'); # Your own secret string
  53. # settings for importing from e-mail
  54. # SSL/TLS only
  55. # IMAP (reading), SMTP (sending)
  56. define('EMAIL_SERVER','');
  57. define('EMAIL_SERVER_USER','');
  58. define('EMAIL_SERVER_PASS','');
  59. define('EMAIL_SERVER_PORT_IMAP',993);
  60. define('EMAIL_SERVER_PORT_SMTP',465);
  61. define('EMAIL_SERVER_MAILBOX','INBOX'); # default INBOX
  62. define('EMAIL_MARKER','to-insipid- ');
  63. define('EMAIL_ARCHIVE_FOLDER','archive');
  64. define('EMAIL_REPORT_BACK',false);
  65. define('EMAIL_REPLY_BACK_VALID','');
  66. define('EMAIL_REPLY_BACK_ADDRESS','');
  67. define('EMAIL_REPLY_BACK_SUBJECT','Insipid email import response');
  68. # Use wkhtmltopdf to create a whole page screenshot of a given link
  69. define('WKHTMLTOPDF_USE',false);
  70. define('WKHTMLTOPDF_COMMAND','/absolute/path/to/wkhtmltoimage');