mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Update w/ session var, fix indents
This commit is contained in:
parent
e3c378427b
commit
a1940ae8f2
@ -3,7 +3,7 @@ $arrHostapdConf = parse_ini_file(RASPI_CONFIG.'/hostapd.ini');
|
|||||||
if ($arrHostapdConf['WifiAPEnable'] == 1) {
|
if ($arrHostapdConf['WifiAPEnable'] == 1) {
|
||||||
$client_iface = 'uap0';
|
$client_iface = 'uap0';
|
||||||
} else {
|
} else {
|
||||||
$client_iface = $arrHostapdConf['WifiInterface'];
|
$client_iface = $_SESSION['client_iface'];
|
||||||
}
|
}
|
||||||
$pars=parse_ini_file(RASPI_HOSTAPD_CONFIG,false,INI_SCANNER_RAW );
|
$pars=parse_ini_file(RASPI_HOSTAPD_CONFIG,false,INI_SCANNER_RAW );
|
||||||
$ap_iface = $pars['interface'];
|
$ap_iface = $pars['interface'];
|
||||||
|
Loading…
Reference in New Issue
Block a user