config.inc.sample 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?php
  2. /**
  3. * Copyright 2021, 2024 5 Mode
  4. *
  5. * This file is part of XSLWIZ.
  6. *
  7. * XSLWIZ 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. * XSLWIZ 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 XSLWIZ. If not, see <https://www.gnu.org/licenses/>.
  19. *
  20. * config.inc
  21. *
  22. * XSLWIZ 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', "Xslwiz");
  29. define('APP_TITLE', "Xslwiz: everyone its xsl tranformation.");
  30. define('APP_HOST', "yourxslwiz.com");
  31. define('APP_PATH', "/var/www/yourxslwiz/Public");
  32. define('APP_PRIVATE_PATH', "/var/www/yourxslwiz/Private");
  33. define('APP_SCRIPT_PATH', "/var/www/yourxslwiz/Private/scripts");
  34. define('APP_AJAX_PATH', "/var/www/yourxslwiz/Private/scripts_ajax");
  35. define('APP_ERROR_PATH', "/var/www/yourxslwiz/Private/error");
  36. define('APP_DATA_PATH', "/var/www/yourxslwiz/Public/static/xsl-repo");
  37. define('APP_LICENSE', <<<LICENSETEXT
  38. Copyright (c) 2016, 2024 5 Mode
  39. All rights reserved.
  40. This file is part of Xslwiz.
  41. Xslwiz is free software: you can redistribute it and/or modify
  42. it under the terms of the GNU General Public License as published by
  43. the Free Software Foundation, either version 3 of the License, or
  44. (at your option) any later version.
  45. Xslwiz is distributed in the hope that it will be useful,
  46. but WITHOUT ANY WARRANTY; without even the implied warranty of
  47. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  48. GNU General Public License for more details.
  49. You should have received a copy of the GNU General Public License
  50. along with Xslwiz. If not, see <https://www.gnu.org/licenses/>.
  51. https://opensource.org/licenses/GPL-3.0
  52. LICENSETEXT
  53. );
  54. // Default Locale, in two letters format
  55. define('APP_DEF_LANG', "en-US");
  56. define('APP_MAX_TOT_FIELDS', 15);
  57. define('APP_MAX_TOT_REC', 25);
  58. define('APP_FILE_MAX_SIZE', 1100000);
  59. $CONFIG = [
  60. 'DEBUG' => true,
  61. 'APP' => [
  62. 'NAME' => "Xslwiz",
  63. 'TITLE' => "Xslwiz: everyone its xsl tranformation.",
  64. 'HOST' => "yourxslwiz.com",
  65. 'PATH' => "/var/www/yourxslwiz/Public",
  66. 'PRIVATE_PATH' => "/var/www/yourxslwiz/Private",
  67. 'SCRIPT_PATH' => "/var/www/yourxslwiz/Private/scripts",
  68. 'AJAX_PATH' => "/var/www/yourxslwiz/Private/scripts_ajax",
  69. 'ERROR_PATH' => "/var/www/yourxslwiz/Private/error",
  70. 'DATA_PATH' => "/var/www/yourxslwiz/Public/static/xsl-repo",
  71. 'LICENSE' => <<<LICENSETEXT
  72. Copyright (c) 2016, 2024 5 Mode
  73. All rights reserved.
  74. This file is part of Xslwiz.
  75. Xslwiz is free software: you can redistribute it and/or modify
  76. it under the terms of the GNU General Public License as published by
  77. the Free Software Foundation, either version 3 of the License, or
  78. (at your option) any later version.
  79. Xslwiz is distributed in the hope that it will be useful,
  80. but WITHOUT ANY WARRANTY; without even the implied warranty of
  81. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  82. GNU General Public License for more details.
  83. You should have received a copy of the GNU General Public License
  84. along with Xslwiz. If not, see <https://www.gnu.org/licenses/>.
  85. https://opensource.org/licenses/GPL-3.0
  86. LICENSETEXT
  87. ,
  88. 'DEF_LANG' => "en-US",
  89. 'MAX_TOT_FIELDS' => 15,
  90. 'MAX_TOT_REC' => 25,
  91. 'FILE_MAX_SIZE' => 1100000
  92. ]
  93. ];