mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
More upgrading notes about 3.1 and statics
This commit is contained in:
parent
f175d0bf66
commit
7470f5e0b6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user