source: extensions/Register_FluxBB/tags/2.1.3/include/constants.php @ 4289

Revision 4289, 613 bytes checked in by Eric, 10 years ago (diff)

[Register_FluxBB] Merged from branch to tags/2.1.3 - Building release 2.1.3

  • Using sha1 hash instead of md5 for password hashing in FluxBB because FluxBB uses prior sha1 hash and md5 only in last sentence.
  • Escaping all characters in login names and be able to retreive them without slashes - FluxBB does not allow this so Piwigo's user names with escaped characters will not been escaped in FluxBB (ie : "it's" in Piwigo will be "It\'s" in FluxBB)
  • Code refactoring
  • Full HTML 4.0 for tpl
  • Property svn:eol-style set to LF
Line 
1<?php
2
3global $prefixeTable, $conf;
4
5$conf_Register_FluxBB = isset($conf['Register_FluxBB']) ? explode(";" , $conf['Register_FluxBB']) : array();
6
7define('Register_FluxBB_ID_TABLE', $prefixeTable.'Register_FluxBB_id');
8
9if (isset($conf_Register_FluxBB[0]))
10{
11  define('FluxBB_CONFIG_TABLE', $conf_Register_FluxBB[0].'config');
12  define('FluxBB_USERS_TABLE', $conf_Register_FluxBB[0].'users');
13  define('FluxBB_POSTS_TABLE', $conf_Register_FluxBB[0].'posts');
14  define('FluxBB_TOPICS_TABLE', $conf_Register_FluxBB[0].'topics');
15  define('FluxBB_SUBSCRIPTIONS_TABLE', $conf_Register_FluxBB[0].'subscriptions');
16}
17?>
Note: See TracBrowser for help on using the repository browser.