Elgg  Version 3.0
Variables
set_maintenance_mode.php File Reference

Go to the source code of this file.

Variables

 $mode = (int) get_input('mode')
 Configure site maintenance mode. More...
 
 $message = get_input('message')
 
 $site = elgg_get_site_entity()
 
 $result = elgg_save_config('elgg_maintenance_mode', $mode)
 

Variable Documentation

Definition at line 7 of file set_maintenance_mode.php.

$mode = (int) get_input('mode')

Configure site maintenance mode.

Definition at line 6 of file set_maintenance_mode.php.

$result = elgg_save_config('elgg_maintenance_mode', $mode)

Definition at line 9 of file set_maintenance_mode.php.