diff options
author | D. V. Serg <dvserg@pfsense.org> | 2008-02-18 07:48:34 +0000 |
---|---|---|
committer | D. V. Serg <dvserg@pfsense.org> | 2008-02-18 07:48:34 +0000 |
commit | 77a78f81a536af730907af14635b961a59c173a5 (patch) | |
tree | ef34a5c804b3d153e5b25c3ec3619584e339282b /packages/squidGuard/squidguard.inc | |
parent | df85e0b60a6a6ae927cc5209713e22b644cec302 (diff) | |
download | pfsense-packages-77a78f81a536af730907af14635b961a59c173a5.tar.gz pfsense-packages-77a78f81a536af730907af14635b961a59c173a5.tar.bz2 pfsense-packages-77a78f81a536af730907af14635b961a59c173a5.zip |
fix db rebuild bugs
Diffstat (limited to 'packages/squidGuard/squidguard.inc')
-rw-r--r-- | packages/squidGuard/squidguard.inc | 7 |
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; } |