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