aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squidGuard/squidguard.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squidGuard/squidguard.inc')
-rw-r--r--packages/squidGuard/squidguard.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/squidGuard/squidguard.inc b/packages/squidGuard/squidguard.inc
index 08b09469..19039a06 100644
--- a/packages/squidGuard/squidguard.inc
+++ b/packages/squidGuard/squidguard.inc
@@ -801,7 +801,8 @@ function squidguard_before_form_log($pkg) {
} else
if ($mlog['logtype'] == 'squidguard_log') {
-$slog .= 'squidguard_log report disabled';
+
+ $slog .= 'squidguard_log report disabled';
/*
$filename = SQUIDGUARD_LOGDIR . '/squidGuard.log';
$slog .= "<b>$filename</b><br>";
@@ -898,6 +899,10 @@ function make_grid_general_items($id = '')
function make_grid_blacklist() {
// button 'Upload URL'
$res = "<br><input name='submit' value='" . BLACKLIST_BTN_URL . "' type='submit'>";
+ if (file_exists(SG_INFO_FILE))
+ $res .= "<br><b>Rebuild status:</b><span style='color: #800000;'>" .
+ str_replace("\n", "<br>", file_get_contents(SG_INFO_FILE) .
+ "</span>");
return $res;
}