1
0
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:
Joe Haig 2016-05-28 21:12:02 +01:00
parent 98a9822897
commit 926d7ba13b

View File

@ -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;