config.inc.sample 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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_LINK', "<a href='http://5md.link/l/dona1'>Personal donation</a>");
  43. define('APP_GITHUB_BUTTON', "<a href='http://5md.link/l/dona2'>Developer donation</a>");
  44. define('APP_SHOP_LINK', "<a href='http://market.from.craft2.cyou/'>5 Mode Market</a>");
  45. // App uses: PRIVATE or BUSINESS
  46. define('APP_USE', "PRIVATE");
  47. // App context: SUPPORT or EVENT
  48. define('APP_CONTEXT', "SUPPORT");
  49. define('APP_WELCOME_MSG', "Welcome to 5 Mode hugs list:");
  50. define('APP_SUPPORT_MSG', "TIME FOR A SMALL DONATION!");
  51. // Max signs from a single client
  52. define('APP_MAX_FROM_IP', 5);
  53. define('DISPLAY_NAME_FONT', "Yuji Boku");
  54. define('DISPLAY_SUBMIT_BUTTON', "Submit");
  55. define('DISPLAY_BODY_CSS', "font-family: Monospace, Verdana, Serif;");
  56. define('CMDLINE_VALIDCMDS', "~|sign|del|conf|refresh|");
  57. define('HISTORY_MAX_ITEMS', 1000);
  58. $CONFIG = [
  59. 'DEBUG' => true,
  60. 'APP' => [
  61. 'NAME' => "Actitude",
  62. 'TITLE' => "Actitude",
  63. 'DESCRIPTION' => "Welcome to Actitude! Let everyone register and support you.",
  64. 'KEYWORDS' => "event,registration,support,supportes,hugs,list,on,premise,solution",
  65. 'HASH' => "",
  66. 'SPLASH' => true,
  67. 'PATH' => "/var/www/YourWebApp",
  68. 'DATA_PATH' => "/var/www/YourWebApp/data",
  69. 'SALT' => "yoursalt",
  70. // Default Locale, in two letters format
  71. 'LOCALE' => "EN",
  72. 'CUSTOM_HEADER' => "&nbsp;&nbsp;<a href='http://5mode.com'><img src='/ACT_res/5mode.png' style='width:950px;'></a>",
  73. 'SUPPORT_LINK' => "<a href='http://5md.link/l/dona1'>Personal donation</a>",
  74. 'GITHUB_BUTTON' => "<a href='http://5md.link/l/dona2'>Developer donation</a>",
  75. 'SHOP_LINK' => "<a href='http://market.from.craft2.cyou/'>5 Mode Market</a>",
  76. // App use: PRIVATE or BUSINESS
  77. 'USE' => "PRIVATE",
  78. // App use: SUPPORT or EVENT
  79. 'CONTEXT' => "SUPPORT",
  80. 'WELCOME_MSG' => "Welcome to our 5 Mode hugs list:",
  81. 'SUPPORT_MSG' => "TIME FOR A SMALL DONATION!",
  82. // Max signs from a single client
  83. 'MAX_FROM_IP' => 5
  84. ],
  85. 'DISPLAY' => [
  86. 'NAME_FONT' => "Yuji Boku",
  87. 'SUBMIT_BUTTON' => "Submit",
  88. 'BODY_CSS' => "font-family: Monospace, Verdana, Serif;"
  89. ],
  90. 'CMDLINE' => [
  91. 'VALIDCMDS' => "~|sign|del|conf|refresh|"
  92. ],
  93. 'HISTORY' => [
  94. 'MAX_ITEMS' => 1000
  95. ]
  96. ];