Removed debug output

This commit is contained in:
Bill Zimmerman 2015-02-28 10:59:43 +01:00
parent 22d0f9d50e
commit 5f8dce6271
1 changed files with 8 additions and 12 deletions

View File

@ -164,7 +164,6 @@ function DisplayDashboard(){
<div class="col-md-6"> <div class="col-md-6">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-body"> <div class="panel-body">
<h4>Interface Information</h4> <h4>Interface Information</h4>
Interface Name : wlan0<br /> Interface Name : wlan0<br />
IP Address : <?php echo $strIPAddress ?><br /> IP Address : <?php echo $strIPAddress ?><br />
@ -176,7 +175,6 @@ function DisplayDashboard(){
Received Bytes : <?php echo $strRxBytes ?><br /><br /> Received Bytes : <?php echo $strRxBytes ?><br /><br />
Transferred Packets : <?php echo $strTxPackets ?><br /> Transferred Packets : <?php echo $strTxPackets ?><br />
Transferred Bytes : <?php echo $strTxBytes ?><br /> Transferred Bytes : <?php echo $strTxBytes ?><br />
</div><!-- /.panel-body --> </div><!-- /.panel-body -->
</div><!-- /.panel-default --> </div><!-- /.panel-default -->
</div><!-- /.col-md-6 --> </div><!-- /.col-md-6 -->
@ -227,7 +225,7 @@ function DisplayDashboard(){
</div><!-- /.panel-default --> </div><!-- /.panel-default -->
</div><!-- /.col-lg-12 --> </div><!-- /.col-lg-12 -->
</div><!-- /.row --> </div><!-- /.row -->
<?php <?php
} }
/** /**
@ -270,8 +268,6 @@ update_config=1
} }
} }
} }
var_dump($config);
exec( "echo '$config' > /tmp/wifidata", $return ); exec( "echo '$config' > /tmp/wifidata", $return );
system( 'sudo cp /tmp/wifidata ' . RASPI_WPA_SUPPLICANT_CONFIG, $returnval ); system( 'sudo cp /tmp/wifidata ' . RASPI_WPA_SUPPLICANT_CONFIG, $returnval );
if( $returnval == 0 ) { if( $returnval == 0 ) {
@ -346,7 +342,7 @@ update_config=1
echo $output; echo $output;
} }
?> ?>
<script type="text/Javascript">UpdateNetworks(this)</script> <script type="text/Javascript">UpdateNetworks(this)</script>
</form> </form>
</div><!-- ./ Panel body --> </div><!-- ./ Panel body -->
</div><!-- /.panel-primary --> </div><!-- /.panel-primary -->
@ -523,11 +519,11 @@ function DisplayHostAPDConfig(){
}; };
?> ?>
</form> </form>
</div><!-- ./ Panel body --> </div><!-- ./ Panel body -->
</div><!-- /.panel-primary --> </div><!-- /.panel-primary -->
<div class="panel-footer"> Information provided by hostapd</div> <div class="panel-footer"> Information provided by hostapd</div>
</div><!-- /.col-lg-12 --> </div><!-- /.col-lg-12 -->
</div><!-- /.row --> </div><!-- /.row -->
<?php <?php
} }
@ -658,7 +654,7 @@ function DisplayDHCPConfig() {
<th>IP Address</th> <th>IP Address</th>
<th>Host name</th> <th>Host name</th>
<th>Client ID</th> <th>Client ID</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>