-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.sample.php
More file actions
76 lines (59 loc) · 2.24 KB
/
config.sample.php
File metadata and controls
76 lines (59 loc) · 2.24 KB
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
<?php
/**
* This is a sample config file with all the possible parameters you need to set
* to use ALL of the shared_functions power. If you're planning on contributing
* other updates back to our github, you'll need to move this file OUT of the
* git tree (i.e. mv config.sample.php ../config.php ).
*/
/**
* The paths to the function files. By default, we assume that the config
* file is sitting just outside the shared_functions folder. For example,
* the config file is moved to /var/www/ with your index file that calls the
* config file; then, all the functions are located at /var/www/shared_functions
*/
require_once('shared_functions/functions.api.php');
require_once('shared_functions/functions.core.php');
require_once('shared_functions/functions.db.php');
require_once('shared_functions/functions.catalog.php');
require_once('shared_functions/functions.form.php');
/**
* Database Connection Information
*/
$cfg_db_type = "mysql";
$cfg_db_host = "localhost"; //or mysite.com
$cfg_db_username = "";
$cfg_db_password = "";
$cfg_db_name = "";
/**
* Recaptcha setup. There is a copy of recaptchalib.php within this project,
* but you'll need to setup an account.
*/
$re_captcha_library ='shared_functions/recaptchalib.php';
$re_captcha_key_public = "";
$re_captcha_key_private = "";
/**
* Default "from" email for mail sent within the PHP application.
* To send emails you'll also need the swift_mailer which is included in
* the github repository as a merged sub-tree. For the full documentation
* visit https://github.com/swiftmailer/swiftmailer
*/
$reply_email = "[email protected]";
$swift_mailer_path = "shared_functions/swiftmailer/lib/swift_required.php";
/**
* Non-standard Settings
* =====================
*/
/**
* The name of the session variable to use when multiple systems that use
* shared_functions on the same server. If you have a ticket system and a
* web admin section that need to be different, they need to have different
* session names set here with a different copy of this config file for
* each project.
* @global string $GLOBALS['session_name']
* @name $session_name
*/
$GLOBALS['session_name'] = 'my_game';
/**
* LDAP is only required if you're using user_rights.php
*/
//$ldap_server = "";