config.inc.sample 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?php
  2. /**
  3. * Copyright 2021, 2024 5 Mode
  4. *
  5. * This file is part of Homogram.
  6. *
  7. * Homogram 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. * Homogram 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 Homogram. If not, see <https://www.gnu.org/licenses/>.
  19. *
  20. * config.inc
  21. *
  22. * Homogram 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', "Homogram");
  29. // password: yourpassword
  30. // salt: yoursalt
  31. define('APP_HASH', "");
  32. define('APP_SPLASH', true);
  33. define('APP_PATH', "/var/www/YourWebApp/Public/static");
  34. define('APP_DATA_PATH', "/var/www/YourWebApp/Private/data");
  35. define('APP_SCRIPT_PATH', "/var/www/YourWebApp/Private/scripts");
  36. define('APP_ERROR_PATH', "/var/www/YourWebApp/Private/error");
  37. define('APP_SALT', "yoursalt");
  38. define('APP_REPO_PATH', "/var/www/YourWebApp/Public/static/HGRepo");
  39. // Default Locale, in two letters format
  40. define('APP_LOCALE', "EN");
  41. // Default Context: 'PRIVATE' or 'PUBLIC'
  42. define('APP_DEFAULT_CONTEXT', "PUBLIC");
  43. define('CMDLINE_VALIDCMDS', "~|privatify|publicify|del|makedir|refresh|openpic|");
  44. $CONFIG = [
  45. 'DEBUG' => true,
  46. 'APP' => [
  47. 'NAME' => "Homegram",
  48. 'HASH' => "",
  49. 'SPLASH' => true,
  50. 'PATH' => "/var/www/YourWebApp/Public/static",
  51. 'DATA_PATH' => "/var/www/YourWebApp/Private/data",
  52. 'SCRIPT_PATH' => "/var/www/YourWebApp/Private/scripts",
  53. 'ERROR_PATH' => "/var/www/YourWebApp/Private/error",
  54. 'SALT' => "yoursalt",
  55. 'REPO_PATH' => "/var/www/YourWebApp/Public/static/HGRepo",
  56. // Default Locale, in two letters format
  57. 'LOCALE' => "EN",
  58. // Default Context: 'PRIVATE' or 'PUBLIC'
  59. 'DEFAULT_CONTEXT' => "PUBLIC"
  60. ],
  61. 'CMDLINE' => [
  62. 'VALIDCMDS' => "~|privatify|publicify|del|makedir|refresh|openpic|"
  63. ]
  64. ];
  65. $LOCALE = [
  66. 'IT' => [
  67. 'Monday' => 'Lunedi',
  68. 'You are in' => "Sei in",
  69. ' as ' => " come ",
  70. 'owner' => "owner",
  71. 'guest' => "guest",
  72. 'Parent' => "Padre",
  73. 'Add' => "Aggiungi",
  74. 'folder' => "cartella",
  75. ' Go ' => " Vai ",
  76. 'Hash me' => "Hashmi",
  77. 'Upload' => "Carica"
  78. ]
  79. ];