Maintenance
class Maintenance (View source)
Methods
static bool
down()
Down site to maintenance mode
static bool
up()
Up site
static bool
enable(bool $enable)
Enable/disable maintenance mode
static void
ignoreif(callable $callback)
Up the site only in certain conditions, eg. the site administrator of the IP.
Details
at line 21
static bool
down()
Down site to maintenance mode
at line 31
static bool
up()
Up site
at line 42
static protected bool
enable(bool $enable)
Enable/disable maintenance mode
at line 61
static void
ignoreif(callable $callback)
Up the site only in certain conditions, eg. the site administrator of the IP.