mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
fix an oops
This commit is contained in:
+8
-8
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user