Merge pull request #251 from pi-hole/settingstweak

Hide size of log if logging is disabled
This commit is contained in:
Adam Warner
2016-12-15 19:47:11 +00:00
committed by GitHub
+1 -1
View File
@@ -329,7 +329,7 @@
?>
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Query Logging (size of log <?php echo formatSizeUnits(filesize("/var/log/pihole.log")); ?>)</h3>
<h3 class="box-title">Query Logging<?php if($piHoleLogging) { ?> (size of log <?php echo formatSizeUnits(filesize("/var/log/pihole.log")); ?>)<?php } ?></h3>
</div>
<div class="box-body">
<p>Current status: