forked from nystudio107/craft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeneral.php
48 lines (39 loc) · 1.19 KB
/
general.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
<?php
/**
* General Configuration
*
* All of your system's general configuration settings go in here. You can see a
* list of the available settings in vendor/craftcms/cms/src/config/GeneralConfig.php.
*/
return [
// Global settings
'*' => [
// Default Week Start Day (0 = Sunday, 1 = Monday...)
'defaultWeekStartDay' => 0,
// Enable CSRF Protection (recommended, will be enabled by default in Craft 3)
'enableCsrfProtection' => true,
// Whether "index.php" should be visible in URLs
'omitScriptNameInUrls' => true,
// Control Panel trigger word
'cpTrigger' => 'admin',
// The secure key Craft will use for hashing and encrypting data
'securityKey' => getenv('SECURITY_KEY'),
],
// Dev environment settings
'dev' => [
// Base site URL
'siteUrl' => null,
// Dev Mode (see https://craftcms.com/support/dev-mode)
'devMode' => true,
],
// Staging environment settings
'staging' => [
// Base site URL
'siteUrl' => null,
],
// Production environment settings
'production' => [
// Base site URL
'siteUrl' => null,
],
];