diff --git a/includes/functions.php b/includes/functions.php
index 3e9f4ddb..4a19a0c7 100755
--- a/includes/functions.php
+++ b/includes/functions.php
@@ -375,186 +375,6 @@ update_config=1
HostAPD is not running
- ';
- } else {
- $status = '
HostAPD is running
-
';
- }
-
- $arrConfig = array();
- $arrChannel = array('a','b','g');
- $arrSecurity = array( 1 => 'WPA', 2 => 'WPA2',3=> 'WPA+WPA2');
- $arrEncType = array('TKIP' => 'TKIP', 'CCMP' => 'CCMP', 'TKIP CCMP' => 'TKIP+CCMP');
-
- foreach( $return as $a ) {
- if( $a[0] != "#" ) {
- $arrLine = explode( "=",$a) ;
- $arrConfig[$arrLine[0]]=$arrLine[1];
- }
- };
- ?>
-
-
-
-
Configure hotspot
-
-
-
-
-
-
-
-
-
-
-
-
Security settings
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ';
- } else {
- echo '
';
- };
- ?>
-
-
-
-
-
-
-HostAPD is not running
+
';
+ } else {
+ $status = 'HostAPD is running
+
';
+ }
+
+ $arrConfig = array();
+ $arrChannel = array('a','b','g');
+ $arrSecurity = array( 1 => 'WPA', 2 => 'WPA2',3=> 'WPA+WPA2');
+ $arrEncType = array('TKIP' => 'TKIP', 'CCMP' => 'CCMP', 'TKIP CCMP' => 'TKIP+CCMP');
+
+ foreach( $return as $a ) {
+ if( $a[0] != "#" ) {
+ $arrLine = explode( "=",$a) ;
+ $arrConfig[$arrLine[0]]=$arrLine[1];
+ }
+ };
+ ?>
+
+
+
+
Configure hotspot
+
+
+
+
+
+
+
+
+
+
+
+
Security settings
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
+ } else {
+ echo '
';
+ };
+ ?>
+
+
+
+
+
+
+
diff --git a/index.php b/index.php
index 16103132..2dea62f9 100755
--- a/index.php
+++ b/index.php
@@ -42,6 +42,7 @@ include_once( 'includes/functions.php' );
include_once( 'includes/authenticate.php' );
include_once( 'includes/admin.php' );
include_once( 'includes/dhcp.php' );
+include_once( 'includes/hostapd.php' );
$output = $return = 0;
$page = $_GET['page'];