SilverStripe\EnvironmentCheck\Checks\EnvTypeCheck
Check whether the environment setting is safe. Useful for live sites where a non "Live" setting might disclose sensitive information.
Synopsis
Hierarchy
Constants
Name | Value |
---|---|
ERROR | 3 |
WARNING | 2 |
OK | 1 |
Methods
public
- check() — Check the environment setting.