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
c9b70766
Commit
c9b70766
authored
Feb 19, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plugins: don't need so many includes
parent
93e47fac
Changes
34
Show whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
8 additions
and
37 deletions
+8
-37
rc.filter_configure_sync
src/etc/rc.filter_configure_sync
+0
-1
rc.initial.setlanip
src/etc/rc.initial.setlanip
+0
-1
rc.initial.setports
src/etc/rc.initial.setports
+0
-1
rc.linkup
src/etc/rc.linkup
+0
-1
rc.newipsecdns
src/etc/rc.newipsecdns
+0
-1
rc.newwanip
src/etc/rc.newwanip
+0
-1
rc.newwanipv6
src/etc/rc.newwanipv6
+0
-1
rc.reload_all
src/etc/rc.reload_all
+0
-1
rc.reload_interfaces
src/etc/rc.reload_interfaces
+0
-1
diag_ipsec_leases.php
src/www/diag_ipsec_leases.php
+0
-1
diag_ipsec_sad.php
src/www/diag_ipsec_sad.php
+0
-1
diag_ipsec_spd.php
src/www/diag_ipsec_spd.php
+0
-1
diag_logs_vpn.inc
src/www/diag_logs_vpn.inc
+0
-1
interfaces.php
src/www/interfaces.php
+0
-1
interfaces_assign.php
src/www/interfaces_assign.php
+0
-1
status_services.php
src/www/status_services.php
+0
-1
system_advanced_misc.php
src/www/system_advanced_misc.php
+0
-2
system_gateway_groups_edit.php
src/www/system_gateway_groups_edit.php
+0
-1
vpn_ipsec.php
src/www/vpn_ipsec.php
+0
-1
vpn_ipsec_keys.php
src/www/vpn_ipsec_keys.php
+0
-1
vpn_ipsec_keys_edit.php
src/www/vpn_ipsec_keys_edit.php
+0
-1
vpn_ipsec_mobile.php
src/www/vpn_ipsec_mobile.php
+0
-1
vpn_ipsec_phase1.php
src/www/vpn_ipsec_phase1.php
+0
-1
vpn_ipsec_phase2.php
src/www/vpn_ipsec_phase2.php
+0
-1
vpn_ipsec_settings.php
src/www/vpn_ipsec_settings.php
+0
-1
vpn_l2tp.php
src/www/vpn_l2tp.php
+1
-1
vpn_l2tp_users.php
src/www/vpn_l2tp_users.php
+1
-1
vpn_l2tp_users_edit.php
src/www/vpn_l2tp_users_edit.php
+1
-1
vpn_pppoe.php
src/www/vpn_pppoe.php
+1
-1
vpn_pppoe_edit.php
src/www/vpn_pppoe_edit.php
+0
-1
vpn_pptp.php
src/www/vpn_pptp.php
+1
-1
vpn_pptp_users.php
src/www/vpn_pptp_users.php
+1
-1
vpn_pptp_users_edit.php
src/www/vpn_pptp_users_edit.php
+2
-3
services_status.widget.php
src/www/widgets/widgets/services_status.widget.php
+0
-1
No files found.
src/etc/rc.filter_configure_sync
View file @
c9b70766
...
@@ -31,7 +31,6 @@ require_once("config.inc");
...
@@ -31,7 +31,6 @@ require_once("config.inc");
require_once
(
"util.inc"
);
require_once
(
"util.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/etc/rc.initial.setlanip
View file @
c9b70766
...
@@ -32,7 +32,6 @@ require_once("config.inc");
...
@@ -32,7 +32,6 @@ require_once("config.inc");
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
"util.inc"
);
require_once
(
"util.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"rrd.inc"
);
require_once
(
"rrd.inc"
);
...
...
src/etc/rc.initial.setports
View file @
c9b70766
...
@@ -32,7 +32,6 @@ require_once("config.inc");
...
@@ -32,7 +32,6 @@ require_once("config.inc");
require_once
(
"config.console.inc"
);
require_once
(
"config.console.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"util.inc"
);
require_once
(
"util.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"rrd.inc"
);
require_once
(
"rrd.inc"
);
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
...
...
src/etc/rc.linkup
View file @
c9b70766
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
require_once
(
"config.inc"
);
require_once
(
"config.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
'plugins.inc'
);
require_once
(
'ipsec.inc'
);
require_once
(
'ipsec.inc'
);
require_once
(
'openvpn.inc'
);
require_once
(
'openvpn.inc'
);
require_once
(
"util.inc"
);
require_once
(
"util.inc"
);
...
...
src/etc/rc.newipsecdns
View file @
c9b70766
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
require_once
(
"util.inc"
);
require_once
(
"util.inc"
);
require_once
(
"config.inc"
);
require_once
(
"config.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
'ipsec.inc'
);
require_once
(
'ipsec.inc'
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/etc/rc.newwanip
View file @
c9b70766
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
/* parse the configuration and include all functions used below */
/* parse the configuration and include all functions used below */
require_once
(
"config.inc"
);
require_once
(
"config.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
'ipsec.inc'
);
require_once
(
'ipsec.inc'
);
require_once
(
"openvpn.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
"rrd.inc"
);
require_once
(
"rrd.inc"
);
...
...
src/etc/rc.newwanipv6
View file @
c9b70766
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
require_once
(
"config.inc"
);
require_once
(
"config.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
'ipsec.inc'
);
require_once
(
'ipsec.inc'
);
require_once
(
"openvpn.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
...
...
src/etc/rc.reload_all
View file @
c9b70766
...
@@ -31,7 +31,6 @@ require_once("config.inc");
...
@@ -31,7 +31,6 @@ require_once("config.inc");
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
'ipsec.inc'
);
require_once
(
'ipsec.inc'
);
require_once
(
"util.inc"
);
require_once
(
"util.inc"
);
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
...
...
src/etc/rc.reload_interfaces
View file @
c9b70766
...
@@ -32,7 +32,6 @@ require_once("filter.inc");
...
@@ -32,7 +32,6 @@ require_once("filter.inc");
require_once
(
"util.inc"
);
require_once
(
"util.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
'ipsec.inc'
);
require_once
(
'ipsec.inc'
);
require_once
(
"plugins.inc"
);
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
...
...
src/www/diag_ipsec_leases.php
View file @
c9b70766
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/diag_ipsec_sad.php
View file @
c9b70766
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/diag_ipsec_spd.php
View file @
c9b70766
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/diag_logs_vpn.inc
View file @
c9b70766
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/interfaces.php
View file @
c9b70766
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"rrd.inc"
);
require_once
(
"rrd.inc"
);
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
...
...
src/www/interfaces_assign.php
View file @
c9b70766
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"rrd.inc"
);
require_once
(
"rrd.inc"
);
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/status_services.php
View file @
c9b70766
...
@@ -36,7 +36,6 @@ require_once("unbound.inc");
...
@@ -36,7 +36,6 @@ require_once("unbound.inc");
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
"openvpn.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"rrd.inc"
);
require_once
(
"rrd.inc"
);
...
...
src/www/system_advanced_misc.php
View file @
c9b70766
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"vslb.inc"
);
require_once
(
"vslb.inc"
);
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
...
@@ -39,7 +38,6 @@ require_once("pfsense-utils.inc");
...
@@ -39,7 +38,6 @@ require_once("pfsense-utils.inc");
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
$crypto_modules
=
array
(
'glxsb'
=>
gettext
(
"AMD Geode LX Security Block"
),
$crypto_modules
=
array
(
'glxsb'
=>
gettext
(
"AMD Geode LX Security Block"
),
'aesni'
=>
gettext
(
"AES-NI CPU-based Acceleration"
)
'aesni'
=>
gettext
(
"AES-NI CPU-based Acceleration"
)
);
);
...
...
src/www/system_gateway_groups_edit.php
View file @
c9b70766
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/vpn_ipsec.php
View file @
c9b70766
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
...
...
src/www/vpn_ipsec_keys.php
View file @
c9b70766
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
...
...
src/www/vpn_ipsec_keys_edit.php
View file @
c9b70766
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
...
...
src/www/vpn_ipsec_mobile.php
View file @
c9b70766
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
...
...
src/www/vpn_ipsec_phase1.php
View file @
c9b70766
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/vpn_ipsec_phase2.php
View file @
c9b70766
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
/**
/**
...
...
src/www/vpn_ipsec_settings.php
View file @
c9b70766
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/vpn_l2tp.php
View file @
c9b70766
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"plugins.inc
.d/vpn.inc
"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/vpn_l2tp_users.php
View file @
c9b70766
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"plugins.inc
.d/vpn.inc
"
);
if
(
!
isset
(
$config
[
'l2tp'
][
'user'
]))
{
if
(
!
isset
(
$config
[
'l2tp'
][
'user'
]))
{
$config
[
'l2tp'
][
'user'
]
=
array
();
$config
[
'l2tp'
][
'user'
]
=
array
();
...
...
src/www/vpn_l2tp_users_edit.php
View file @
c9b70766
...
@@ -44,7 +44,7 @@ function l2tp_users_sort()
...
@@ -44,7 +44,7 @@ function l2tp_users_sort()
}
}
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"plugins.inc
.d/vpn.inc
"
);
$referer
=
(
isset
(
$_SERVER
[
'HTTP_REFERER'
])
?
$_SERVER
[
'HTTP_REFERER'
]
:
'/vpn_l2tp_users.php'
);
$referer
=
(
isset
(
$_SERVER
[
'HTTP_REFERER'
])
?
$_SERVER
[
'HTTP_REFERER'
]
:
'/vpn_l2tp_users.php'
);
...
...
src/www/vpn_pppoe.php
View file @
c9b70766
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"plugins.inc
.d/vpn.inc
"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
if
(
!
is_array
(
$config
[
'pppoes'
]))
{
if
(
!
is_array
(
$config
[
'pppoes'
]))
{
...
...
src/www/vpn_pppoe_edit.php
View file @
c9b70766
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
function
vpn_pppoe_get_id
()
function
vpn_pppoe_get_id
()
...
...
src/www/vpn_pptp.php
View file @
c9b70766
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
require_once
(
'guiconfig.inc'
);
require_once
(
'guiconfig.inc'
);
require_once
(
'interfaces.inc'
);
require_once
(
'interfaces.inc'
);
require_once
(
'filter.inc'
);
require_once
(
'filter.inc'
);
require_once
(
'plugins.inc'
);
require_once
(
'plugins.inc
.d/vpn.inc
'
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
if
(
!
is_array
(
$config
[
'pptpd'
][
'radius'
]))
{
if
(
!
is_array
(
$config
[
'pptpd'
][
'radius'
]))
{
...
...
src/www/vpn_pptp_users.php
View file @
c9b70766
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
*/
*/
require_once
(
'guiconfig.inc'
);
require_once
(
'guiconfig.inc'
);
require_once
(
'plugins.inc'
);
require_once
(
'plugins.inc
.d/vpn.inc
'
);
if
(
!
is_array
(
$config
[
'pptpd'
][
'user'
]))
{
if
(
!
is_array
(
$config
[
'pptpd'
][
'user'
]))
{
$config
[
'pptpd'
][
'user'
]
=
array
();
$config
[
'pptpd'
][
'user'
]
=
array
();
...
...
src/www/vpn_pptp_users_edit.php
View file @
c9b70766
...
@@ -44,7 +44,6 @@ function pptpd_users_sort()
...
@@ -44,7 +44,6 @@ function pptpd_users_sort()
}
}
require_once
(
'guiconfig.inc'
);
require_once
(
'guiconfig.inc'
);
require_once
(
'plugins.inc'
);
if
(
!
is_array
(
$config
[
'pptpd'
][
'user'
]))
{
if
(
!
is_array
(
$config
[
'pptpd'
][
'user'
]))
{
$config
[
'pptpd'
][
'user'
]
=
array
();
$config
[
'pptpd'
][
'user'
]
=
array
();
...
...
src/www/widgets/widgets/services_status.widget.php
View file @
c9b70766
...
@@ -33,7 +33,6 @@ $nocsrf = true;
...
@@ -33,7 +33,6 @@ $nocsrf = true;
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"services.inc"
);
require_once
(
"services.inc"
);
require_once
(
"plugins.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"widgets/include/services_status.inc"
);
require_once
(
"widgets/include/services_status.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
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