A lightweight forum engine written in PHP. Repository is now obsolete and read-only. http://www.pioder.pl/uforum.html
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.

48 lines
2.1 KiB

  1. <?php
  2. /**
  3. * @package uForum
  4. * @file constans.php
  5. * @version $Id$
  6. * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
  7. * @link http://www.pioder.pl/
  8. * @license see LICENSE.txt
  9. **/
  10. if (!defined('IN_uF'))
  11. {
  12. die('Hacking attempt');
  13. }
  14. //sessions constants
  15. define('SESSION_LIFETIME',129600);
  16. define('SESS_NAME','uf_auth');
  17. //maximum filesize of avatar
  18. define('AV_CATALOG','images/avatars/');
  19. //posting allowed tags HTML
  20. define('ALLOWED_TAGS','<strong><em><u><s><span><font><div><img><a><font><p><sub><sup><hr><br><li><ol><ul><h1><h2><h3><h4><h5><h6>');
  21. //tables
  22. define('BANLIST_TABLE',DB_PREFIX.'banlist');
  23. define('CATS_TABLE',DB_PREFIX.'categories');
  24. define('CENSORLIST_TABLE',DB_PREFIX.'censorlist');
  25. define('CONFIG_TABLE',DB_PREFIX.'config');
  26. define('FORUMS_TABLE',DB_PREFIX.'forums');
  27. define('GROUPS_TABLE',DB_PREFIX.'groups');
  28. define('PM_INBOX_TABLE',DB_PREFIX.'msg_inbox');
  29. define('PM_SENTBOX_TABLE',DB_PREFIX.'msg_sentbox');
  30. define('POSTS_TABLE',DB_PREFIX.'posts');
  31. define('SESSIONS_TABLE',DB_PREFIX.'sessions');
  32. define('SHOUTBOX_TABLE',DB_PREFIX.'shoutbox');
  33. define('SMILES_TABLE',DB_PREFIX.'smiles');
  34. define('USERS_TABLE',DB_PREFIX.'users');
  35. define('USERS_GROUP_TABLE',DB_PREFIX.'users_group');
  36. define('TOPICS_TABLE',DB_PREFIX.'topics');
  37. define('WARNINGS_TABLE',DB_PREFIX.'warns');
  38. //footer forum text
  39. define('FOOTER_TEXT','<span class="copyright" >Powered by <b>&micro;Forum</b></span><span class="copyright"> &copy; 2007-2010 </span><a href="http://www.pioder.pl/" class="copyright" target="_blank"><b>PioDer</b></a>');
  40. //hash for password
  41. define('PASSWD_HASH','bJVhVFCthvhVhKBU6GUbhUBU6VI7BiU6fV7G76Kbug6FU67VsaVYat5FJUHssaYVY5fV5GUHI76uKYTjYKKTatastYKYTYKg6ds7IRdsagI565JTrJ4NFGagGKLULygaTJHgfYDRZagGHJ65KL7iryikuuyriMYIYYUyugFTDeRnLKJNuyTDTRsERy78IJOhHCTDYjomLKBJDF5THNNBjyFCDYekjnKBUYgIHnUIbyuG6UyHNKJjnKHVut6FBYlH987g6GIUBbg76V5NNLUBH76BKLBi76FVtjN76Gi77ggYVCx3 R4SGhfGLHIH64XFGBUNLJOgfvc4Y3ScvmljmOBVc4klJKNIuBGVY6 MbvhGCRGgJLjKFHrYYJnKJGFHTfJJjnLK');
  42. define('CRITICAL', 'Critical Error');
  43. define('GENERAL', 'General Error');
  44. ?>