Merge pull request #6495 from robbieaverill/patch-4

DOCS Add namespacing to environment types page
This commit is contained in:
Will Rossiter 2017-01-13 19:25:35 +13:00 committed by GitHub
commit b72e8db226

View File

@ -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