Skip to content

Commit

Permalink
Changed: allowAdminChanges only on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
bymayo authored Sep 15, 2020
1 parent de32bc1 commit 964fa34
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'securityKey' => getenv('SECURITY_KEY'),
'siteUrl' => null,
'env' => getenv('ENVIRONMENT'),
'allowAdminChanges' => false,
// Cache
'enableTemplateCaching' => true,
'cacheMethod' => 'file',
Expand Down Expand Up @@ -48,13 +49,13 @@
'devMode' => true,
'allowUpdates' => true,
'enableTemplateCaching' => false,
'testToEmailAddress' => getenv('SITE_EMAIL')
'testToEmailAddress' => getenv('SITE_EMAIL'),
'allowAdminChanges' => true
],
'staging' => [
'devMode' => true
],
'production' => [
'useSecureCookies' => true,
'allowAdminChanges' => false
'useSecureCookies' => true
]
];

0 comments on commit 964fa34

Please sign in to comment.