config.php.example

Thu, 13 May 2010 09:31:01 -0500

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 13 May 2010 09:31:01 -0500
changeset 0
472198dc918e
permissions
-rw-r--r--

Initial commit

0
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 <?php
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 $config = Array(
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 // Which registration backend to use
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 "backend" => "ejabberd_postgres",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
7 // For display purposes
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
8 "host" => "example.com",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
9 "website" => "http://example.com/",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
10
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
11 // For database backends
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
12 "dbhost" => "localhost",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
13 "dbuser" => "abc",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
14 "dbpass" => "secret",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
15
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
16 // For LDAP backends
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
17 "ldapHostname" => "localhost",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
18 "ldapPort" => 389,
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
19 "ldapBindPass" => "s3cr3t",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
20 "ldapBindDN" => "cn=DSA Manager,cn=dsa,o=Org",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
21 "ldapBaseDN" => "ou=Users,dc=jabber,dc=org,o=Org",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
22
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
23 // Your ReCAPCTHA keys (from http://recaptcha.net/api/getkey )
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
24 "recaptchaPrivateKey" => "abcdefghijklmnopqrstuvwxyz",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
25 "recaptchaPublicKey" => "abcdefghijklmnopqrstuvwxyz",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
26
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
27 // Page theme
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
28 "theme" => "default",
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
29
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
30 // Temporarily change to TRUE if you need more output
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
31 "debug" => FALSE
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
32 );
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
33
472198dc918e Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
34 ?>

mercurial