mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Add more PHP_EOLs
This commit is contained in:
parent
98a9822897
commit
926d7ba13b
@ -988,12 +988,12 @@ function DisplayTorProxyConfig(){
|
|||||||
*/
|
*/
|
||||||
function SaveHostAPDConfig(){
|
function SaveHostAPDConfig(){
|
||||||
if( isset($_POST['SaveHostAPDSettings']) ) {
|
if( isset($_POST['SaveHostAPDSettings']) ) {
|
||||||
$config = 'driver=nl80211
|
$config = 'driver=nl80211'.PHP_EOL
|
||||||
ctrl_interface='. RASPI_HOSTAPD_CTRL_INTERFACE .'
|
.'ctrl_interface='.RASPI_HOSTAPD_CTRL_INTERFACE.PHP_EOL
|
||||||
ctrl_interface_group=0
|
.'ctrl_interface_group=0'.PHP_EOL
|
||||||
beacon_int=100
|
.'beacon_int=100'.PHP_EOL
|
||||||
auth_algs=1
|
.'auth_algs=1'.PHP_EOL
|
||||||
wpa_key_mgmt=WPA-PSK';
|
.'wpa_key_mgmt=WPA-PSK'.PHP_EOL;
|
||||||
|
|
||||||
$config .= "interface=".$_POST['interface'].PHP_EOL;
|
$config .= "interface=".$_POST['interface'].PHP_EOL;
|
||||||
$config .= "ssid=".$_POST['ssid'].PHP_EOL;
|
$config .= "ssid=".$_POST['ssid'].PHP_EOL;
|
||||||
|
Loading…
Reference in New Issue
Block a user