1 |
a9e1725f
|
Scott Ullrich
|
<?php
|
2 |
|
|
|
3 |
|
|
/* make sure we are coming from 127.0.0.1 */
|
4 |
f7b01c1d
|
Scott Ullrich
|
$ip = $HTTP_SERVER_VARS['REMOTE_ADDR'];
|
5 |
a9e1725f
|
Scott Ullrich
|
if($ip <> "127.0.0.1")
|
6 |
5a9a22b6
|
Rafael Lucas
|
die(gettext("You are not allowed to access this page."));
|
7 |
a9e1725f
|
Scott Ullrich
|
|
8 |
|
|
/* preload */
|
9 |
62fd530a
|
sullrich
|
|
10 |
|
|
$files=array("functions.inc",
|
11 |
bdbef260
|
sullrich
|
"config.inc",
|
12 |
62fd530a
|
sullrich
|
"IPv6.inc",
|
13 |
|
|
"itemid.inc",
|
14 |
|
|
"shaper.inc",
|
15 |
|
|
"PEAR.inc",
|
16 |
|
|
"led.inc",
|
17 |
|
|
"array_intersect_key.inc",
|
18 |
|
|
"dyndns.class",
|
19 |
|
|
"meta.inc",
|
20 |
|
|
"smtp.inc",
|
21 |
|
|
"auth.inc",
|
22 |
|
|
"easyrule.inc",
|
23 |
|
|
"notices.inc",
|
24 |
|
|
"system.inc",
|
25 |
|
|
"filter.inc",
|
26 |
|
|
"upgrade_config.inc",
|
27 |
|
|
"openvpn.inc",
|
28 |
|
|
"authgui.inc",
|
29 |
|
|
"vpfsense-utils.inc",
|
30 |
|
|
"vuuid.php",
|
31 |
|
|
"captiveportal.inc",
|
32 |
|
|
"voucher.inc",
|
33 |
|
|
"certs.inc",
|
34 |
|
|
"filter_log.inc",
|
35 |
|
|
"pkg-utils.inc",
|
36 |
|
|
"vpn.inc",
|
37 |
|
|
"cmd_chain.inc",
|
38 |
|
|
"vslb.inc",
|
39 |
|
|
"config.gui.inc",
|
40 |
|
|
"globals.inc",
|
41 |
|
|
"priv.defs.inc",
|
42 |
|
|
"xmlparse.inc",
|
43 |
|
|
"priv.inc",
|
44 |
|
|
"config.inc",
|
45 |
|
|
"growl.class",
|
46 |
|
|
"radius.inc",
|
47 |
|
|
"xmlrpc.inc",
|
48 |
|
|
"gwlb.inc",
|
49 |
|
|
"rrd.inc",
|
50 |
|
|
"xmlrpc_client.inc",
|
51 |
|
|
"config.lib.inc",
|
52 |
|
|
"interfaces.inc",
|
53 |
|
|
"service-utils.inc",
|
54 |
|
|
"xmlrpc_server.inc",
|
55 |
|
|
"ipsec.inc",
|
56 |
|
|
"services.inc");
|
57 |
|
|
|
58 |
|
|
foreach($files as $file)
|
59 |
|
|
require_once($file);
|
60 |
|
|
|
61 |
|
|
require("guiconfig.inc");
|
62 |
8cef78c0
|
sullrich
|
include('/usr/local/www/includes/functions.inc.php');
|
63 |
|
|
include("fbegin.inc");
|
64 |
|
|
include("fend.inc");
|
65 |
c8b0a897
|
Scott Ullrich
|
|
66 |
5a9a22b6
|
Rafael Lucas
|
?>
|