config.inc.sample 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. /**
  3. * Copyright 2021, 2024 5 Mode
  4. *
  5. * This file is part of PHPBSDRelay.
  6. *
  7. * PHPBSDRelay is free software: you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation, either version 3 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * PHPBSDRelay is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with PHPBSDRelay. If not, see <https://www.gnu.org/licenses/>.
  19. *
  20. * config.inc
  21. *
  22. * PHPBSDRelay configuration settings.
  23. *
  24. * @author Daniele Bonini <my25mb@aol.com>
  25. * @copyrights (c) 2021, 2024, 5 Mode
  26. */
  27. define('DEBUG', true);
  28. define('APP_NAME', "PHPBSDRelay");
  29. // sha256 password
  30. // pw: yourpassword
  31. // hash:
  32. define('APP_PASSWORD', "yourpassword");
  33. define('APP_PATH', "/var/www/PHPBSDRelay/Public");
  34. define('APP_SCRIPT_PATH', "/var/www/PHPBSDRelay/Private/scripts");
  35. define('APP_AJAX_PATH', "/var/www/PHPBSDRelay/Private/scripts_ajax");
  36. define('APP_ERROR_PATH', "/var/www/PHPBSDRelay/Private/error");
  37. // Default Locale, in two letters format
  38. define('APP_LOCALE', "EN");
  39. $CONFIG = [
  40. 'DEBUG' => true,
  41. 'APP' => [
  42. 'NAME' => "PHPBSDRelay",
  43. // sha256 password
  44. // pw: yourpassword
  45. // hash:
  46. 'PASSWORD' => "yourpassword",
  47. 'PATH' => "/var/www/PHPBSDRelay/Public",
  48. 'SCRIPT_PATH' => "/var/www/PHPBSDRelay/Private/scripts",
  49. 'AJAX_PATH' => "/var/www/PHPBSDRelay/Private/scripts_ajax",
  50. 'ERROR_PATH' => "/var/www/PHPBSDRelay/Private/error",
  51. 'LOCALE' => "EN"
  52. ],
  53. ];