config.inc.sample 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?php
  2. /**
  3. * Copyright 2021, 2024 5 Mode
  4. *
  5. * This file is part of 5 Cube.
  6. *
  7. * 5 Cube 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. * 5 Cube 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 5 Cube. If not, see <https://www.gnu.org/licenses/>.
  19. *
  20. * config.inc
  21. *
  22. * 5 Cube 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', "5 Cube");
  29. // password:
  30. // salt:
  31. define('APP_HASH', "");
  32. define('APP_SPLASH', true);
  33. define('APP_HOST', "5cu.be");
  34. define('APP_PATH', "/var/www/YourWebApp/Public");
  35. define('APP_SCRIPT_PATH', "/var/www/YourWebApp/Private/scripts");
  36. define('APP_AJAX_PATH', "/var/www/YourWebApp/Private/scripts_ajax");
  37. define('APP_ERROR_PATH', "/var/www/YourWebApp/Private/error");
  38. define('APP_SALT', "yoursalt");
  39. define('APP_TEMPLATE_PATH', "/var/www/YourWebApp/Private/Private/templates");
  40. define('APP_DATA_PATH', "/var/www/YourWebApp/Private/data");
  41. // Default Locale, in two letters format
  42. define('APP_LOCALE', "EN");
  43. define('BUSINESS_TYPE', "Prosp");
  44. define('BUSINESS_CITY_ZIP_PROV', "Bologna 40100 BO");
  45. define('BUSINESS_COUNTRY', "Italy");
  46. // sha256 password
  47. // pw: password
  48. define('EDITOR_PASSWORD', "");
  49. $CONFIG = [
  50. 'DEBUG' => true,
  51. 'APP' => [
  52. 'NAME' => "5 Cube",
  53. // password:
  54. // salt:
  55. 'HASH' => "",
  56. 'SPLASH' => true,
  57. 'HOST' => "5cu.be",
  58. 'PATH' => "/var/www/YourWebApp/Public",
  59. 'SCRIPT_PATH' => "/var/www/YourWebApp/Private/scripts",
  60. 'AJAX_PATH' => "/var/www/YourWebApp/Private/scripts_ajax",
  61. 'ERROR_PATH' => "/var/www/YourWebApp/Private/error",
  62. 'SALT' => "yoursalt",
  63. 'TEMPLATE_PATH' => "/var/www/YourWebApp/Private/templates",
  64. 'DATA_PATH' => "/var/www/YourWebApp/Private/data",
  65. // Default Locale, in two letters format
  66. 'LOCALE' => "EN"
  67. ],
  68. 'BUSINESS' => [
  69. 'TYPE' => "Sushi",
  70. 'CITY_ZIP_PROV' => "Bologna 40100 BO",
  71. 'COUNTRY' => "Italy"
  72. ],
  73. 'EDITOR' => [
  74. // sha256 password
  75. // pw: password
  76. 'PASSWORD' => ""
  77. ]
  78. ];