A new, object-oriented, better vesion of μForum
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.

34 lines
1.1 KiB

  1. <?php
  2. //tables
  3. define('BANLIST_TABLE',DB_PREFIX.'banlist');
  4. define('CATS_TABLE',DB_PREFIX.'categories');
  5. define('CONFIG_TABLE',DB_PREFIX.'config');
  6. define('FORUMS_TABLE',DB_PREFIX.'forums');
  7. define('POSTS_TABLE',DB_PREFIX.'posts');
  8. define('SESSIONS_TABLE',DB_PREFIX.'sessions');
  9. define('USERS_TABLE',DB_PREFIX.'users');
  10. define('USERS_INFO_TABLE',DB_PREFIX.'users_information');
  11. define('TOPICS_TABLE',DB_PREFIX.'topics');
  12. //views
  13. define('FORUMS_VIEW', DB_PREFIX.'view_forums');
  14. define('TOPICS_VIEW', DB_PREFIX.'view_topics');
  15. define('POSTS_VIEW', DB_PREFIX.'view_posts');
  16. define('LOGGED_USERS_VIEW', DB_PREFIX.'view_logged_users');
  17. define('USERS_PC_VIEW', DB_PREFIX.'view_users_post_count');
  18. define('TOPICS_PC_VIEW', DB_PREFIX.'view_topics_post_count');
  19. define('COOKIE_NAME', 'uf2_auth');
  20. define('RANK_USER', 0);
  21. define('RANK_MOD', 1);
  22. define('RANK_ADMIN', 2);
  23. define('POSTING_REPLY', 'reply');
  24. define('POSTING_QUOTE', 'quote');
  25. define('POSTING_EDIT', 'edit');
  26. define('POSTING_NEWTOPIC', 'new_topic');
  27. define('POSTING_EDITTOPIC', 'edit_topic');
  28. $allowed_avatars = array('image/jpeg', 'image/gif', 'image/png');
  29. ?>