fix an oops

This commit is contained in:
Justin Theberge
2016-04-07 22:47:03 -04:00
parent e7829ab127
commit d1db4a86d7
+8 -8
View File
@@ -104,14 +104,14 @@
</div>
<div class="pull-left info">
<p>Status</p>
<?php
$pistatus = exec("pgrep dnsmasq | wc -l");
if ($pistatus >= "0") {
echo '<a href="#"><img src="img/pi-online.png" alt=Status height="15" width="15" /> Nominal</a>';
} else {
echo '<a href="#"><img src="img/pi-offline.png" alt=Status height="15" width="15" /> Offline</a>';
}
?>
<?php
$pistatus = exec('pgrep dnsmasq | wc -l');
if ($pistatus > "0") {
echo '<a href="#"><img src="img/pi-online.png" alt=Status height="15" width="15" /> Nominal</a>';
} else {
echo '<a href="#"><img src="img/pi-offline.png" alt=Status height="15" width="15" /> Offline</a>';
}
?>
</div>
</div>
<!-- sidebar menu: : style can be found in sidebar.less -->