Removed debug output

This commit is contained in:
Bill Zimmerman 2015-02-28 10:59:43 +01:00
parent 22d0f9d50e
commit 5f8dce6271

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 -->
@ -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 ) {