1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
<?php
/*
* db
* --
*
* What database to connect to
*/
$config['db'] = "mysql://memberdb:pants@unix()/memberdb";
/*
* org_id
* ------
* Identifies which organisation is using this installation
* of the memberdb scripts.
*
* It should be the content of the 'id' field of the 'orgs'
* table for the applicable organisation.
*
* Usually this would be 1, as you will have created the entry
* during the bootstrap process.
*/
$config['org_id'] = 1;
/*
* member_member_type_id
* ---------------------
* FIXME: This should be better, the name and purpose suck.
*
* This is the member_type that a new member (once approved)
* is given.
*/
$config['member_member_type_id'] = 2;
/*
* Index page title
* ----------------
*
* Title to appear on the index page, i.e. what users see
* before they go executing functions.
*/
$config['index_title'] = "Linux Australia Membership Database";
/*
* Base dir
* --------
*
* Base directory of web site (on local FS)
* Used for includes.
* Default should be fine
*/
$config['basedir'] = getcwd();
/*
* Base URL
* --------
*
* Top level URL that all memberdb pages are off.
*
* This is used when putting URLs into emails.
*/
$config['baseurl']= 'http://localhost/~stewart/memberdb/'; // 'http://www.linux.org.au/membership/';
/**
*
* Membership Admin list
* ---------------------
*
* This is where copies of mails sent to users are sent.
* We may also send other things here in the future.
*/
$config['membership-admin']= 'membership-admin@lists.linux.org.au';
/**
* From
* ----
* Who mails are from.
*/
$config['from']='ctte@linux.org.au';
/**
* Enable sending emails
* ---------------------
*
* Set to 1 to enable the sending of emails. Otherwise they are queued in
* the database.
*/
$config['send_emails']=0;
?>
|