Function __global->_maintenance_password_check__init
Definitions
sources/crypt_maintenance.php
- Prepare for checking the maintenance password.This call should be done within an if condition and appropriately handled when this returns false (if $silent_failure could be true).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$silent_failure | boolean | False | N/A | N/A | Whether to proceed without exiting (false: instead of returning, we will exit if a maintenance password is not defined) |
Return
- Whether a maintenance password is available and access should be allowed
- Type: boolean
- Set: N/A
- Range: N/A