mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #6495 from robbieaverill/patch-4
DOCS Add namespacing to environment types page
This commit is contained in:
commit
b72e8db226
@ -10,7 +10,7 @@ and behaviors. The environment is managed either through a [YML configuration fi
|
|||||||
The definition of setting an environment type in a `mysite/_config/app.yml` looks like
|
The definition of setting an environment type in a `mysite/_config/app.yml` looks like
|
||||||
|
|
||||||
:::yml
|
:::yml
|
||||||
Director:
|
SilverStripe\Control\Director:
|
||||||
environment_type: 'dev'
|
environment_type: 'dev'
|
||||||
|
|
||||||
The definition of setting an environment type in a `_ss_environment.php` file looks like
|
The definition of setting an environment type in a `_ss_environment.php` file looks like
|
||||||
@ -44,7 +44,7 @@ want to password protect the site. You can enable that by adding this to your `m
|
|||||||
Only:
|
Only:
|
||||||
environment: 'test'
|
environment: 'test'
|
||||||
---
|
---
|
||||||
BasicAuth:
|
SilverStripe\Security\BasicAuth:
|
||||||
entire_site_protected: true
|
entire_site_protected: true
|
||||||
|
|
||||||
### Live Mode
|
### Live Mode
|
||||||
|
Loading…
Reference in New Issue
Block a user