forked from grinnellplans/grinnellplans-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Configuration.php.tmpl
51 lines (39 loc) · 1.72 KB
/
Configuration.php.tmpl
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
<?php
/* Centralized file to hold all configuration parameters */
define('ENVIRONMENT', 'dev');
define("PLANSVERSION", "3");
define("PLANSVNAME", "Plans " . PLANSVERSION);
define('GOOGLE_CODE_SECRET', '');
define('TZ', 'America/Chicago');
define('MYSQL_DB', 'plans');
define('MYSQL_USER', 'username');
define('MYSQL_PASS', 'password');
define('MYSQL_HOST', 'localhost');
define('DB_URI', 'mysql://' . MYSQL_USER . ':' . MYSQL_PASS . '@' . MYSQL_HOST . '/' . MYSQL_DB);
define('COOKIE_DOMAIN', '');
define('COOKIE_PAYLOAD', 'pe');
define('COOKIE_SIGNATURE', 'ps');
define('COOKIE_ENCRYPTION_KEY', '');
define('COOKIE_SIGNATURE_SALT', '');
define('COOKIE_EXPIRATION', 60*60*24*2); // 2 days
define('NOTES_THREADS_PER_PAGE', 25);
define('NOTES_MSGS_PER_PAGE', 25);
define('USER_GUEST_NAME', 'guest');
define('GEO_GMAPS_API', '');
define('GEO_DATABASE', __ROOT__ . '/geo/geo.dat');
define('MAILER_ADDRESS', "[email protected]");
define('USE_NATIVE_MAIL', true); //~(use AWS mail service if false)
//AWS credentials - needed if aws mail is enabled
if (!USE_NATIVE_MAIL) {
define('AWS_KEY', '');
define('AWS_SECRET_KEY', '');
}
//AWS SES feedback SNS topic ARN - https://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-sns-notifications.html
//define('AWS_SES_FEEDBACK_ARN', 'arn:aws:sns:us-east-1:123456789012:ses_bounces');
//these are the always-pass developer keys - get your own before using in prod!
define('RECAPTCHA_SITE_KEY','6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI');
define('RECAPTCHA_SITE_SECRET','6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe');
// Use this if you wish to override the auto-detected environment type.
// Options are 'development', 'production', or 'testing'
// $GLOBALS['ENVIRONMENT'] = 'testing';
?>