~armagetronad-dev/armagetronad/trunk-http-auth-server-work

« back to all changes in this revision

Viewing changes to config.php

  • Committer: epsy46
  • Date: 2008-08-24 17:50:04 UTC
  • mfrom: (0.1.33)
  • Revision ID: epsy46@free.fr-20080824175004-swispyat0n3gf5w2
Merged from svn

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
$rootDomain = 'authentication.armagetronad.net';
 
4
 
 
5
//database details for checking against, repeat this section to support multiple databases
 
6
//use $dbs['authority_name']['methods']['method']['host/name/user/passwd/table/userrow'] to set specific DB detailms for specific methods
 
7
$dbs['forums']['host'] = '';
 
8
$dbs['forums']['name'] = '';
 
9
$dbs['forums']['user'] = '';
 
10
$dbs['forums']['passwd'] = '';
 
11
$dbs['forums']['table'] = '';
 
12
$dbs['forums']['user_row'] = '';
 
13
$dbs['forums']['methods']['md5']['row'] = '';
 
14
$dbs['forums']['methods']['bmd5']['row'] = '';
 
15
$dbs['forums']['methods']['sha1']['row'] = '';
 
16
// If you want to serve web authentication(not working yet) you will need to create this table with the following fields:
 
17
$dbs['forums']['methods']['webform']['table'] = 'armaauth';
 
18
$dbs['forums']['methods']['webform']['authority_row'] = 'authority';
 
19
$dbs['forums']['methods']['webform']['site_key_row'] = 'site_key';
 
20
$dbs['forums']['methods']['webform']['site_key_hash_row'] = 'site_key_hash';
 
21
$dbs['forums']['methods']['webform']['site_key_time_row'] = 'site_key_time';
 
22
$dbs['forums']['methods']['webform']['site_row'] = 'site';
 
23
$dbs['forums']['methods']['webform']['user_key_row'] = 'user_key';
 
24
$dbs['forums']['methods']['webform']['hash_row'] = 'hash_row';
 
25
$dbs['forums']['methods']['webform']['hash_row'] = 'hash_row';
 
26
$dbs['forums']['methods']['webform']['siteKeyTimeout'] = 5 * 60; // Time in seconds until a site key is considered expired and can be trashed
 
27
 
 
28
$dbs['forums']['validMethods'] = array('bmd5', 'md5', 'sha1'); //hashes which are in the table
 
29
$dbs['forums']['params'] = array('prefix' => '', 'suffix' => '');
 
30
 
 
31
?>