config.inc.sample 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. define('APP_TITLE', "Actitude");
  30. define('APP_DESCRIPTION', "Welcome to Actitude! Let everyone register and support you.");
  31. define('APP_KEYWORDS', "event,registration,support,supportes,hugs,list,on,premise,solution");
  32. // password: yourpassword
  33. // salt: yoursalt
  34. define('APP_HASH', "");
  35. define('APP_SPLASH', true);
  36. define('APP_PATH', "/var/www/YourWebApp");
  37. define('APP_DATA_PATH', "/var/www/YourWebApp/data");
  38. define('APP_SALT', "yoursalt");
  39. // Default Locale, in two letters format
  40. define('APP_LOCALE', "EN");
  41. define('APP_CUSTOM_HEADER', "&nbsp;&nbsp;<a href='http://5mode.com'><img src='/ACT_res/5mode.png' style='width:950px;'></a>");
  42. define('APP_SUPPORT_BUTTON', "<iframe src='https://github.com/sponsors/par7133/button' height='55' width='182' style='border:0;'></iframe>");
  43. define('APP_SHOP_LINK', "<a href='http://market.from.craft2.cyou/'>5 Mode Market</a>");
  44. // App uses: PRIVATE or BUSINESS
  45. define('APP_USE', "PRIVATE");
  46. // App context: SUPPORT or EVENT
  47. define('APP_CONTEXT', "SUPPORT");
  48. define('APP_WELCOME_MSG', "Welcome to 5 Mode hugs list:");
  49. define('APP_SUPPORT_MSG', "TIME FOR A SMALL DONATION!");
  50. // Max signs from a single client
  51. define('APP_MAX_FROM_IP', 5);
  52. define('DISPLAY_NAME_FONT', "Yuji Boku");
  53. define('DISPLAY_SUBMIT_BUTTON', "Submit");
  54. define('DISPLAY_BODY_CSS', "font-family: Monospace, Verdana, Serif;");
  55. define('CMDLINE_VALIDCMDS', "~|sign|del|conf|refresh|");
  56. define('HISTORY_MAX_ITEMS', 1000);
  57. $CONFIG = [
  58. 'DEBUG' => true,
  59. 'APP' => [
  60. 'NAME' => "Actitude",
  61. 'TITLE' => "Actitude",
  62. 'APP_DESCRIPTION' => "Welcome to Actitude! Let everyone register and support you.",
  63. 'APP_KEYWORDS' => "event,registration,support,supportes,hugs,list,on,premise,solution",
  64. 'HASH' => "",
  65. 'SPLASH' => true,
  66. 'PATH' => "/var/www/YourWebApp",
  67. 'DATA_PATH' => "/var/www/YourWebApp/data",
  68. 'SALT' => "yoursalt",
  69. // Default Locale, in two letters format
  70. 'LOCALE' => "EN",
  71. 'CUSTOM_HEADER' => "&nbsp;&nbsp;<a href='http://5mode.com'><img src='/ACT_res/5mode.png' style='width:950px;'></a>",
  72. 'SUPPORT_BUTTON' => "<iframe src='https://github.com/sponsors/par7133/button' height='55' width='182' style='border:0;'></iframe>",
  73. 'SHOP_LINK' => "<a href='http://market.from.craft2.cyou/'>5 Mode Market</a>",
  74. // App use: PRIVATE or BUSINESS
  75. 'USE' => "PRIVATE",
  76. // App use: SUPPORT or EVENT
  77. 'CONTEXT' => "SUPPORT",
  78. 'WELCOME_MSG' => "Welcome to our 5 Mode hugs list:",
  79. 'SUPPORT_MSG' => "TIME FOR A SMALL DONATION!",
  80. // Max signs from a single client
  81. 'APP_MAX_FROM_IP' => 5
  82. ],
  83. 'DISPLAY' => [
  84. 'NAME_FONT' => "Yuji Boku",
  85. 'SUBMIT_BUTTON' => "Submit",
  86. 'BODY_CSS' => "font-family: Monospace, Verdana, Serif;"
  87. ],
  88. 'CMDLINE' => [
  89. 'VALIDCMDS' => "~|sign|del|conf|refresh|"
  90. ],
  91. 'HISTORY' => [
  92. 'MAX_ITEMS' => 1000
  93. ]
  94. ];