Anonymous 3D Imageboard http://cyberia.digital/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.5KB

  1. <?php
  2. /*
  3. ______ __ __
  4. / ____/___ ____ _____/ /_____ _____ / /______
  5. / / / __ \/ __ \/ ___/ __/ __ `/ __ \/ __/ ___/
  6. / /___/ /_/ / / / (__ ) /_/ /_/ / / / / /_(__ )
  7. \____/\____/_/ /_/____/\__/\__,_/_/ /_/\__/____/
  8. List of constant of the server, helping to make the database files hard to find
  9. */
  10. //FOLDERS & DB
  11. class Constants {
  12. const CONST_DB_FOLDER = "data";
  13. const CONST_CONFIG_FOLDER = "config";
  14. const CONST_MAP_FOLDER = "maps";
  15. const CONST_TABLE_CHANS = "chans";
  16. const CONST_TABLE_POSTS = "posts";
  17. const CONST_TABLE_LOGS = "logs";
  18. const CONST_TABLE_MAP = "maps";
  19. const CONST_TABLE_ITEMS = "items";
  20. const CONST_TABLE_LOOT = "loot";
  21. const CONST_TABLE_THREADS = "threads";
  22. const CONST_TABLE_BANS = "bans";
  23. const CONST_TABLE_FILES = "files";
  24. const CONST_TABLE_PLAYERS = "players";
  25. const CONST_TABLE_THREADS_TOP = "threads_top";
  26. const CONST_NUM_THREAD_MAX = 100;
  27. const CONST_FILES_EXT_ERROR = "Only image extension and mp3 are allowed.";
  28. const CONST_FILES_MAX_SIZE = 25097152;
  29. const CONST_FILES_MAX_SIZE_ERROR = 'File size cannot exceed 25 MB';
  30. const CONST_FILES_MAX_NUM = 5;
  31. const CONST_PASSWORD_FOLDER = "password";
  32. const CONST_PASSWORD_FILE = "password.txt";
  33. const SITE_TORRENT_DESC = "AnonIB💀3D, by AElx Krunch https://twitter.com/alexkrunch";
  34. const CONST_IMAGE_UPLOAD_FOLDER = "uploads";
  35. const CONST_IMAGE_PREVIEW_FOLDER = "previews";
  36. const CONST_IMAGE_SALT = "SnUffCh4N";
  37. const CONST_MAP_ALPHA_NAME = "alpha";
  38. }