mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
proxy: add missing store.log even though it's disabled ATM; closes #462
This commit is contained in:
parent
735d0beda5
commit
8664ff2cb0
@ -39,6 +39,7 @@ if ($tab_group == 'vpn') {
|
||||
} else {
|
||||
$tab_array[] = array(gettext('Cache'), true, '/diag_logs_proxy.php?type=cache');
|
||||
$tab_array[] = array(gettext('Access'), false, '/diag_logs_proxy.php?type=access');
|
||||
$tab_array[] = array(gettext('Store'), false, '/diag_logs_proxy.php?type=store');
|
||||
}
|
||||
|
||||
?><ul class="nav nav-pills" role="tablist">
|
||||
|
||||
@ -36,7 +36,7 @@ if (empty($config['syslog']['nentries'])) {
|
||||
}
|
||||
|
||||
$type = 'cache';
|
||||
if (isset($_GET['type']) && $_GET['type'] === 'access') {
|
||||
if (isset($_GET['type']) && ($_GET['type'] === 'access' || $_GET['type'] === 'store')) {
|
||||
$type = $_GET['type'];
|
||||
}
|
||||
|
||||
|
||||
@ -71,6 +71,7 @@ function clear_all_log_files()
|
||||
$log_files = array(
|
||||
'squid/access',
|
||||
'squid/cache',
|
||||
'squid/store',
|
||||
);
|
||||
|
||||
foreach ($log_files as $lfile) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user