config.php.default 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * scientia
  4. *
  5. * Copyright 2022 - 2024 Johannes Keßler
  6. *
  7. * https://www.bananas-playground.net/projekt/scientia/
  8. *
  9. *
  10. * This program is free software: you can redistribute it and/or modify
  11. * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
  12. *
  13. * You should have received a copy of the
  14. * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
  15. * along with this program. If not, see http://www.sun.com/cddl/cddl.html
  16. */
  17. # set to true if you need debug messages in error log file
  18. const DEBUG = true;
  19. # set to ture if you need query log messages in error log file.
  20. const QUERY_DEBUG = true;
  21. # timezone settings
  22. const TIMEZONE = 'Europe/Berlin';
  23. # language settings
  24. const FRONTEND_LANGUAGE = 'en';
  25. # path settings
  26. const PATH_ABSOLUTE = '/path/to/scientia/webroot';
  27. const PATH_SYSTEMOUT = PATH_ABSOLUTE . '/systemout';
  28. const PATH_WEBROOT = '/code/scientia/webroot';
  29. # Installation Domain. Webrootpath will be added automatically
  30. const INSTALL_URL = 'http://www.example.tld';
  31. # database config
  32. const DB_HOST = '127.0.0.1';
  33. const DB_USERNAME = 'user';
  34. const DB_PASSWORD = 'test';
  35. const DB_NAME = 'scientia';
  36. const DB_PREFIX = 'sc'; # a _ is added automatically as separation
  37. # username and password for authentication
  38. const FRONTEND_USERNAME = 'user';
  39. const FRONTEND_PASSWORD = 'pass';
  40. # API config
  41. # this is your installation secret. Could be anything.
  42. # Think of it as a key. Change it often to avoid any abuse.
  43. # The description will be used in the log files
  44. const UPLOAD_SECRET = array(
  45. 'PLEASE CHANGE YOUR SECRET' => 'Your description for this secret #1',
  46. 'PLEASE CHANGE YOUR SECRET' => 'Your description for this secret #2'
  47. );