LWB5 > Administration > Maintenance mode

time() + $duration * 60, "reason" => $reason ); $f = fopen($config['cachedir'] . '/maintenance.ser', "w"); fwrite($f, serialize($maintenance)); fclose($f); include('../scripts/config.inc'); __logAdmin("put the server in maintenance mode for reason: $reason"); } } if (is_null($config['maintenance'])) { ?>

Maintenance mode is currently inactive. Please use the form below to activate it.

Reason for maintenance:
Maintenance mode duration: minutes

$err

\n"; } ?>

Maintenance mode is currently active.

Reason:
Until: (current: ).

Disable maintenance mode