forked from ccraig/cpoMMo
-
Notifications
You must be signed in to change notification settings - Fork 51
/
config.sample.php
98 lines (72 loc) · 3.31 KB
/
config.sample.php
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
89
90
91
92
93
94
95
96
97
98
<?php die(); /* DO NOT REMOVE THIS LINE! SERIOUS SECURITY RISK IF REMOVED! */ ?>
====================================================================
Welcome to the poMMo Configuration File! From here you setup your database and
other preferences.
IMPORTANT: This file must be named "config.php" and saved in the "root"
directory of your poMMo installation (where bootstrap.php is).
See config.simple.sample.php for a condensed, readable config file.
====================================================================
::: MySQL Database Information :::
[db_hostname] = "localhost"
The MySQL Server poMMo will connect to (usually localhost)
NOTE: Remote MySQL servers (e.g. mysql.yourwebhost.com) can be used.
[db_username] = "brice"
The username poMMo will use to login to MySQL server
[db_password] = "1234"
The password poMMo will use to login to MySQL server
[db_database] = "pommo"
The name of the MySQL Database poMMo will use
[db_prefix] = "pommo_"
Change if you intend to have multiple poMMos running from the same database
[db_conn_compress] = off
Enable (on) or disable(off). Use compression protocol for connection
[db_conn_secure] = off
Enable (on) or disable(off). Use SSL encryption when connecting to database
::: Language Information :::
[lang] = en
Set this to your desired locale. Current languages available are;
bg - Bulgarian it - Italian
da - Danish nl - Dutch
de - German pl - Polish
en - English pt - Portuguese
en-uk - British pt-br - Brazilian Portuguese
es - Spanish ro - Romanian
fr - French ru - Russian
::: Optional Configuration :::
====================================================================
Below Options are intended for debugging or overriding
automatic configuration.
====================================================================
[debug] = off
Enable (on) or disable(off). Debug mode is useful for providing
information to developers
[verbosity] = 3
Set the logging verbosity level.
1: Debbuging mode - *EVERYTHING* is outputted.
2: Informational mode - *MOST EVERYTHING* is outputted
3: Quiet mode - *IMPORTANT THINGS* are outputted [default]
[date_format] = 1
Set the preferred date format for "date" type subscriber fields.
Available formats are;
1: YYYY/MM/DD (e.g. 1969/12/15) [default]
2: MM/DD/YYYY
3: DD/MM/YYYY
::: Overrides :::
Uncomment (remove the leading "**") to define the following settings.
NOTE: These settings are auto-detected by default, and best left unchanged.
** [baseURL] = "/mysite/newsletter/"
Set the Base URL (poMMo's path relative to the webserver) e.g.;
(poMMo location) (baseURL value)
http://newsletter.mysite.com/ /
http://www.mysite.com/me/pommo /me/pommo/
NOTE: Include trailing slash
** [workDir] = "/path/to/pommoCache"
Set the "working" directory. poMMo writes files to this directory.
By default, it is set to the "cache" directory in the poMMo root.
For increased security move this directory to a location not reachable
via the web (e.g. /home/brice/work vs. /home/brice/public_html/work)
Make sure the webserver can write to this directory!
** [hostname] = www.mysite.com
Set the webhost's server name
** [hostport] = 8080
Set the webhost's listening port [Usually 80, 443, or 8080]