Fixed up a whole bunch of undefined variable warnings. Added a check to make sure raspap.auth exists before trying to include it.

This commit is contained in:
Lawrence
2017-10-02 03:10:04 +08:00
parent a6b1d85013
commit 61d450d1c7
5 changed files with 23 additions and 13 deletions

View File

@@ -78,6 +78,10 @@ function DisplayDHCPConfig() {
$RangeMask = $arrRange[2];
preg_match( '/([0-9]*)([a-z])/i', $arrRange[3], $arrRangeLeaseTime );
$hselected = '';
$mselected = '';
$dselected = '';
switch( $arrRangeLeaseTime[2] ) {
case "h":
$hselected = " selected";