source: extensions/Register_FluxBB/branches/2.1/include/constants.php @ 4288

Last change on this file since 4288 was 4288, checked in by Eric, 14 years ago

[Register_FluxBB] Merged frim trunk to branch 2.1

  • 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
File size: 613 bytes
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.