remove undefined variable _SERVER[REQUEST_METHOD] when running from the cli

pull/121/head
David Goodwin 8 years ago
parent 772a882c74
commit 3593d23c6f

@ -414,7 +414,10 @@ else
<?php
} elseif ($_SERVER['REQUEST_METHOD'] == "GET" || $error != 0 || $lostpw_error == 0) {
} elseif (
(isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == "GET") ||
$error != 0 ||
$lostpw_error == 0 ) {
?>
<div class="standout"><?php print $setupMessage; ?></div>

Loading…
Cancel
Save