config.inc.sample 3.8 KB

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