mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 22:28:37 +02: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))
|
needs to be explicitly denied through these configuration files (see the [3.0.5 security release](/changelogs/3.0.4))
|
||||||
for details.
|
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).
|
For more information about how to use the config system, see the ["Configuration" topic](/topic/configuration).
|
||||||
|
|
||||||
### default_cast is now Text
|
### default_cast is now Text
|
||||||
|
Loading…
Reference in New Issue
Block a user