config.default.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. /**
  3. * Insipid
  4. * Personal web-bookmark-system
  5. *
  6. * Copyright 2016-2019 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');
  30. define('DB_USERNAME','user');
  31. define('DB_PASSWORD','test');
  32. define('DB_NAME','insipid');
  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. # settings for importing from e-mail
  47. # SSL/TLS only
  48. # IMAP (reading), SMTP (sending)
  49. define('EMAIL_SERVER','');
  50. define('EMAIL_SERVER_USER','');
  51. define('EMAIL_SERVER_PASS','');
  52. define('EMAIL_SERVER_PORT_IMAP',993);
  53. define('EMAIL_SERVER_PORT_SMTP',465);
  54. define('EMAIL_SERVER_MAILBOX','INBOX'); # default INBOX
  55. define('EMAIL_MARKER','to-insipid- ');
  56. define('EMAIL_ARCHIVE_FOLDER','archive');
  57. define('EMAIL_REPORT_BACK',false);
  58. define('EMAIL_REPLY_BACK_VALID','');
  59. define('EMAIL_REPLY_BACK_ADDRESS','');
  60. define('EMAIL_REPLY_BACK_SUBJECT','Insipid email import response');