config.inc.sample 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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/static");
  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', "Sushi");
  44. define('BUSINESS_CITY_ZIP_PROV', "Bologna 40100 BO");
  45. define('BUSINESS_COUNTRY', "Italy");
  46. define('EDITOR_PASSWORD', "");
  47. $CONFIG = [
  48. 'DEBUG' => true,
  49. 'APP' => [
  50. 'NAME' => "5 Cube",
  51. // password:
  52. // salt:
  53. 'HASH' => "",
  54. 'SPLASH' => true,
  55. 'HOST' => "5cu.be",
  56. 'PATH' => "/var/www/YourWebApp/Public/static",
  57. 'SCRIPT_PATH' => "/var/www/YourWebApp/Private/scripts",
  58. 'AJAX_PATH' => "/var/www/YourWebApp/Private/scripts_ajax",
  59. 'ERROR_PATH' => "/var/www/YourWebApp/Private/error",
  60. 'SALT' => "yoursalt",
  61. 'TEMPLATE_PATH' => "/var/www/YourWebApp/Private/templates",
  62. 'DATA_PATH' => "/var/www/YourWebApp/Private/data",
  63. // Default Locale, in two letters format
  64. 'LOCALE' => "EN"
  65. ],
  66. 'BUSINESS' => [
  67. 'TYPE' => "Sushi",
  68. 'CITY_ZIP_PROV' => "Bologna 40100 BO",
  69. 'COUNTRY' => "Italy"
  70. ],
  71. 'EDITOR' => [
  72. 'PASSWORD' => ""
  73. ]
  74. ];