mirror of
https://github.com/pi-hole/web.git
synced 2026-05-01 22:24:08 +01:00
Hide size of log if logging is disabled
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user