Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
ef63bc68
Commit
ef63bc68
authored
Jun 13, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logs: always load services.inc, loading plugins.inc in template too
parent
88b047c1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 addition
and
6 deletions
+1
-6
diag_logs_dhcp.php
src/www/diag_logs_dhcp.php
+0
-1
diag_logs_gateways.php
src/www/diag_logs_gateways.php
+0
-1
diag_logs_ipsec.php
src/www/diag_logs_ipsec.php
+0
-1
diag_logs_ntpd.php
src/www/diag_logs_ntpd.php
+0
-1
diag_logs_proxy.php
src/www/diag_logs_proxy.php
+0
-1
diag_logs_resolver.php
src/www/diag_logs_resolver.php
+0
-1
diag_logs_template.inc
src/www/diag_logs_template.inc
+1
-0
No files found.
src/www/diag_logs_dhcp.php
View file @
ef63bc68
...
@@ -9,7 +9,6 @@ function clear_hook()
...
@@ -9,7 +9,6 @@ function clear_hook()
services_dhcpd_configure
();
services_dhcpd_configure
();
}
}
require_once
'services.inc'
;
$service_hook
=
'dhcpd'
;
$service_hook
=
'dhcpd'
;
require_once
'diag_logs_template.inc'
;
require_once
'diag_logs_template.inc'
;
src/www/diag_logs_gateways.php
View file @
ef63bc68
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
$logfile
=
'/var/log/gateways.log'
;
$logfile
=
'/var/log/gateways.log'
;
$logclog
=
true
;
$logclog
=
true
;
require_once
'services.inc'
;
$service_hook
=
'apinger'
;
$service_hook
=
'apinger'
;
require_once
'diag_logs_template.inc'
;
require_once
'diag_logs_template.inc'
;
src/www/diag_logs_ipsec.php
View file @
ef63bc68
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
$logfile
=
'/var/log/ipsec.log'
;
$logfile
=
'/var/log/ipsec.log'
;
$logclog
=
true
;
$logclog
=
true
;
require_once
'services.inc'
;
$service_hook
=
'ipsec'
;
$service_hook
=
'ipsec'
;
require_once
'diag_logs_template.inc'
;
require_once
'diag_logs_template.inc'
;
src/www/diag_logs_ntpd.php
View file @
ef63bc68
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
$logfile
=
'/var/log/ntpd.log'
;
$logfile
=
'/var/log/ntpd.log'
;
$logclog
=
true
;
$logclog
=
true
;
require_once
'services.inc'
;
$service_hook
=
'ntpd'
;
$service_hook
=
'ntpd'
;
require_once
'diag_logs_template.inc'
;
require_once
'diag_logs_template.inc'
;
src/www/diag_logs_proxy.php
View file @
ef63bc68
...
@@ -13,7 +13,6 @@ $logpills[] = array(gettext('Cache'), true, '/diag_logs_proxy.php?type=cache');
...
@@ -13,7 +13,6 @@ $logpills[] = array(gettext('Cache'), true, '/diag_logs_proxy.php?type=cache');
$logpills
[]
=
array
(
gettext
(
'Access'
),
false
,
'/diag_logs_proxy.php?type=access'
);
$logpills
[]
=
array
(
gettext
(
'Access'
),
false
,
'/diag_logs_proxy.php?type=access'
);
$logpills
[]
=
array
(
gettext
(
'Store'
),
false
,
'/diag_logs_proxy.php?type=store'
);
$logpills
[]
=
array
(
gettext
(
'Store'
),
false
,
'/diag_logs_proxy.php?type=store'
);
require_once
'services.inc'
;
$service_hook
=
'squid'
;
$service_hook
=
'squid'
;
require_once
'diag_logs_template.inc'
;
require_once
'diag_logs_template.inc'
;
src/www/diag_logs_resolver.php
View file @
ef63bc68
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
$logfile
=
'/var/log/resolver.log'
;
$logfile
=
'/var/log/resolver.log'
;
$logclog
=
true
;
$logclog
=
true
;
require_once
'services.inc'
;
$service_hook
=
array
(
'dnsmasq'
,
'unbound'
);
$service_hook
=
array
(
'dnsmasq'
,
'unbound'
);
require_once
'diag_logs_template.inc'
;
require_once
'diag_logs_template.inc'
;
src/www/diag_logs_template.inc
View file @
ef63bc68
...
@@ -33,6 +33,7 @@ require_once("guiconfig.inc");
...
@@ -33,6 +33,7 @@ require_once("guiconfig.inc");
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"plugins.inc"
);
require_once
'services.inc'
;
/* expects $logfile to point to the system path */
/* expects $logfile to point to the system path */
/* expects $logclog to be true or false */
/* expects $logclog to be true or false */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment