Config::load();
$maint_mode = 1;
-if($argc > 1) {
+if ($argc > 1) {
$maint_mode = intval($argv[1]);
}
Config::set('system', 'maintenance', $maint_mode);
-if($maint_mode AND ($argc > 2)) {
+if ($maint_mode AND ($argc > 2)) {
$reason_arr = $argv;
array_shift($reason_arr);
array_shift($reason_arr);
Config::set('system', 'maintenance_reason', '');
}
-if($maint_mode) {
+if ($maint_mode) {
$mode_str = "maintenance mode";
} else {
$mode_str = "normal mode";