-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.php.template
112 lines (83 loc) · 2.75 KB
/
config.php.template
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
99
100
101
102
103
104
105
106
107
108
109
110
111
<?php
// PRODUCTION: debug mode is off. DEVELOPMENT: debug mode is on.
define('BPUSH_ENVIRONMENT', 'PRODUCTION');
// timezon and locale
define('DEFAULT_TIMEZONE', 'UTC');
define('DEFAULT_LOCALE', 'en'); // 'en' or 'ja'
// Use VAPID Protocol. (Firefox support)
define('USE_VAPID_PROTOCOL', true);
// Your domain and protocol. ex. https://example.com
define('SERVICE_HOST', 'https://example.com');
// If you host this service in a subdirectory set a path.
define('ROOT_PATH', '');
// administrator's mail address.
define('CONTACT_MAIL', '[email protected]');
// Secret access key for hiding login page from public users.
// In production environment this property should be set.
// Access Url: https://your-domain/login?key=yourkey
define('LOGIN_ACCESS_KEY', '');
// settings for administrator page.
define('ADMIN_USER', 'adminadmin');
define('ADMIN_PASSWORD', 'adminadmin');
/*
* AWS API Key Setting(Not VAPID mode only)
*/
// Following access-key must be permited to use SNS API.
define('AWS_ACCESS_KEY', '');
define('AWS_SECRET_ACCESS_KEY', '');
define('AWS_REGION', ''); // ex. us-east-1
define('AWS_SNS_GCM_ARN', '');
/*
* Google Setting(Not VAPID mode only)
*/
// Google Project Number. You can find it in dashboard of Google Cloud Platform Console.
define('GOOGLE_PROJECT_NUMBER', '');
// Google API Key
define('GOOGLE_API_KEY', '');
/*
* Database Setting
*/
// MySQL Setting
define('MYSQL_HOST', 'localhost');
define('MYSQL_DB', '');
define('MYSQL_USER', '');
define('MYSQL_PASS', '');
// Redis Setting
define('REDIS_HOST', 'localhost');
define('REDIS_PORT', 6379);
define('REDIS_PREFIX', '');
/**
* Registration Setting.
*/
// turn on if you want to allow another user to register this system through website.
// NOTE: you can use scripts/add_user.php for adding user.
define('USE_REGISTERATION_THROUGH_WEB', false);
/*
* Mail Server Setting.
*
* If you set USE_REGISTERATION_THROUGH_WEB to false, following properties is ignored.
*/
// 'smtp' or 'ses'
// 'ses' means AWS SES.
define('MAIL_SENDING_METHOD', 'smtp');
define('SMTP_MAIL_HOST', '');
define('SMTP_MAIL_PORT', 587);
define('SMTP_MAIL_USER', '');
define('SMTP_MAIL_PASS', '');
define('NOREPLY_MAIL_ADDRESS', '[email protected]');
// if you set MAIL_SENDING_METHOD to 'ses', following property is used when use SES.
define('AWS_SES_REGION', ''); // ex. us-east-1
/*
* Limitation of the application.
*/
// if the flag is true owner cannot send notifications over 50,000.
define('ENABLE_LIMIT_OF_NOTIFICATION_AMOUNT', false);
// maximum number of sites per owner.
define('MAX_SITES_PER_OWNER', 10);
/**
* Application Deplyment Setting.
* (Normally, do not edit following items)
*/
define('PROJECT_ROOT', __DIR__);
define('PUBLIC_ROOT', __DIR__ . '/public');
define('TWIG_CACHE', __DIR__ . '/cache');