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
3a4cfb81
Commit
3a4cfb81
authored
Jul 21, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(legacy) more require cleanups
parent
f118e6cd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
notices.inc
src/etc/inc/notices.inc
+0
-1
diag_logs_filter.php
src/www/diag_logs_filter.php
+1
-1
diag_logs_filter_summary.php
src/www/diag_logs_filter_summary.php
+1
-1
No files found.
src/etc/inc/notices.inc
View file @
3a4cfb81
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
*/
*/
require_once
(
"led.inc"
);
require_once
(
"led.inc"
);
require_once
(
"util.inc"
);
require_once
(
"notices.growl.class"
);
require_once
(
"notices.growl.class"
);
require_once
(
"notices.sasl.inc"
);
require_once
(
"notices.sasl.inc"
);
require_once
(
"notices.smtp.inc"
);
require_once
(
"notices.smtp.inc"
);
...
...
src/www/diag_logs_filter.php
View file @
3a4cfb81
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter_log.inc"
);
require_once
(
"filter_log.inc"
);
/********************************************************************************************************************
/********************************************************************************************************************
...
@@ -496,7 +497,6 @@ if (isset($_POST['resolve'])) {
...
@@ -496,7 +497,6 @@ if (isset($_POST['resolve'])) {
}
}
if
(
isset
(
$_POST
[
'easyrule'
]))
{
if
(
isset
(
$_POST
[
'easyrule'
]))
{
require_once
(
"filter.inc"
);
$response
=
array
(
"status"
=>
"unknown"
)
;
$response
=
array
(
"status"
=>
"unknown"
)
;
switch
(
$_POST
[
'easyrule'
])
{
switch
(
$_POST
[
'easyrule'
])
{
...
...
src/www/diag_logs_filter_summary.php
View file @
3a4cfb81
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
$pgtitle
=
gettext
(
"Status"
)
.
": "
.
gettext
(
"System logs"
)
.
": "
.
gettext
(
"Firewall Log Summary"
);
$pgtitle
=
gettext
(
"Status"
)
.
": "
.
gettext
(
"System logs"
)
.
": "
.
gettext
(
"Firewall Log Summary"
);
$shortcut_section
=
"firewall"
;
$shortcut_section
=
"firewall"
;
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
includ
e_once
(
"filter_log.inc"
);
requir
e_once
(
"filter_log.inc"
);
$filter_logfile
=
'/var/log/filter.log'
;
$filter_logfile
=
'/var/log/filter.log'
;
$lines
=
5000
;
$lines
=
5000
;
...
...
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