More upgrading notes about 3.1 and statics

This commit is contained in:
Ingo Schommer 2013-03-25 22:08:57 +01:00
parent f175d0bf66
commit 7470f5e0b6

View File

@ -126,6 +126,11 @@ your `.htaccess` or `web.config` files. Web access to these sensitive YAML confi
needs to be explicitly denied through these configuration files (see the [3.0.5 security release](/changelogs/3.0.4))
for details.
This change will also affect any visibility modifiers on `SiteTree` subclasses
in your own codebase, since those are further extended by SilverStripe core,
e.g. `ErrorPage extends Page`. Please change all "core statics" like `$db`, `$has_one`,
`$has_many`, `$many_many`, `$defaults`, etc to `private` visibility.
For more information about how to use the config system, see the ["Configuration" topic](/topic/configuration).
### default_cast is now Text