config.inc.sample 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?php
  2. /**
  3. * Copyright 2021, 2024 5 Mode
  4. *
  5. * This file is part of Actitude.
  6. *
  7. * Actitude 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. * Actitude 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 Actitude. If not, see <https://www.gnu.org/licenses/>.
  19. *
  20. * config.inc
  21. *
  22. * Actitude 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', "Actitude");
  29. // password: yourpassword
  30. // salt: yoursalt
  31. define('APP_HASH', "");
  32. define('APP_SPLASH', true);
  33. define('APP_PATH', "/var/www/YourWebApp");
  34. define('APP_DATA_PATH', "/var/www/YourWebApp/data");
  35. define('APP_SALT', "yoursalt");
  36. // Default Locale, in two letters format
  37. define('APP_LOCALE', "EN");
  38. define('APP_CUSTOM_HEADER', "&nbsp;&nbsp;<a href='http://5mode.com'><img src='/ACT_res/5mode.png' style='width:950px;'></a>");
  39. define('APP_SUPPORT_BUTTON', "<iframe src='https://github.com/sponsors/par7133/button' height='55' width='182' style='border:0;'></iframe>");
  40. define('APP_SHOP_LINK', "<a href='http://market.from.craft2.cyou/'>5 Mode Market</a>");
  41. // App uses: PRIVATE or BUSINESS
  42. define('APP_USE', "PRIVATE");
  43. // App context: SUPPORT or EVENT
  44. define('APP_CONTEXT', "SUPPORT");
  45. define('APP_WELCOME_MSG', "Welcome to 5 Mode hugs list:");
  46. define('APP_SUPPORT_MSG', "TIME FOR A SMALL DONATION!");
  47. define('DISPLAY_NAME_FONT', "Yuji Boku");
  48. define('DISPLAY_SUBMIT_BUTTON', "Submit");
  49. define('DISPLAY_BODY_CSS', "font-family: Monospace, Verdana, Serif;");
  50. define('CMDLINE_VALIDCMDS', "~|sign|del|conf|refresh|");
  51. define('HISTORY_MAX_ITEMS', 1000);
  52. $CONFIG = [
  53. 'DEBUG' => true,
  54. 'APP' => [
  55. 'NAME' => "Actitude",
  56. 'HASH' => "",
  57. 'SPLASH' => true,
  58. 'PATH' => "/var/www/YourWebApp",
  59. 'DATA_PATH' => "/var/www/YourWebApp/data",
  60. 'SALT' => "yoursalt",
  61. // Default Locale, in two letters format
  62. 'LOCALE' => "EN",
  63. 'CUSTOM_HEADER' => "&nbsp;&nbsp;<a href='http://5mode.com'><img src='/ACT_res/5mode.png' style='width:950px;'></a>",
  64. 'SUPPORT_BUTTON' => "<iframe src='https://github.com/sponsors/par7133/button' height='55' width='182' style='border:0;'></iframe>",
  65. 'SHOP_LINK' => "<a href='http://market.from.craft2.cyou/'>5 Mode Market</a>",
  66. // App use: PRIVATE or BUSINESS
  67. 'USE' => "PRIVATE",
  68. // App use: SUPPORT or EVENT
  69. 'CONTEXT' => "SUPPORT",
  70. 'WELCOME_MSG' => "Welcome to our 5 Mode hugs list:",
  71. 'SUPPORT_MSG' => "TIME FOR A SMALL DONATION!"
  72. ],
  73. 'DISPLAY' => [
  74. 'NAME_FONT' => "Yuji Boku",
  75. 'SUBMIT_BUTTON' => "Submit",
  76. 'BODY_CSS' => "font-family: Monospace, Verdana, Serif;"
  77. ],
  78. 'CMDLINE' => [
  79. 'VALIDCMDS' => "~|sign|del|conf|refresh|"
  80. ],
  81. 'HISTORY' => [
  82. 'MAX_ITEMS' => 1000
  83. ]
  84. ];