diff options
author | Ermal <eri@pfsense.org> | 2010-05-07 13:58:55 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-05-07 13:58:55 +0000 |
commit | 3327ac109894f9974283de655eaa50ef7a97571f (patch) | |
tree | 7b1a0c34203a360d534a21dfc8d5089d5d0c222f /usr/local/www | |
parent | a842e988514b8f4bef77f9b1eec16f5b562f3b82 (diff) | |
download | pfsense-3327ac109894f9974283de655eaa50ef7a97571f.zip pfsense-3327ac109894f9974283de655eaa50ef7a97571f.tar.gz |
Use require_once() to overcome problems with includes.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/load_balancer_monitor.php | 4 | ||||
-rwxr-xr-x | usr/local/www/load_balancer_pool.php | 2 | ||||
-rwxr-xr-x | usr/local/www/load_balancer_relay_action.php | 2 | ||||
-rwxr-xr-x | usr/local/www/load_balancer_relay_protocol.php | 2 | ||||
-rwxr-xr-x | usr/local/www/load_balancer_virtual_server.php | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/load_balancer_monitor.php b/usr/local/www/load_balancer_monitor.php index 797412b..d73e14c 100755 --- a/usr/local/www/load_balancer_monitor.php +++ b/usr/local/www/load_balancer_monitor.php @@ -39,11 +39,11 @@ ##|*MATCH=load_balancer_monitor.php* ##|-PRIV -require("guiconfig.inc"); +require_once("guiconfig.inc"); require_once("functions.inc"); require_once("filter.inc"); require_once("shaper.inc"); -require("util.inc"); +require_once("util.inc"); if (!is_array($config['load_balancer']['monitor_type'])) { $config['load_balancer']['monitor_type'] = array(); diff --git a/usr/local/www/load_balancer_pool.php b/usr/local/www/load_balancer_pool.php index 103cb7e..4eaa785 100755 --- a/usr/local/www/load_balancer_pool.php +++ b/usr/local/www/load_balancer_pool.php @@ -39,7 +39,7 @@ ##|*MATCH=load_balancer_pool.php* ##|-PRIV -require("guiconfig.inc"); +require_once("guiconfig.inc"); require_once("functions.inc"); require_once("filter.inc"); require_once("shaper.inc"); diff --git a/usr/local/www/load_balancer_relay_action.php b/usr/local/www/load_balancer_relay_action.php index 9ee0deb..8926f65 100755 --- a/usr/local/www/load_balancer_relay_action.php +++ b/usr/local/www/load_balancer_relay_action.php @@ -39,7 +39,7 @@ ##|*MATCH=load_balancer_relay_action.php* ##|-PRIV -require("guiconfig.inc"); +require_once("guiconfig.inc"); require_once("functions.inc"); require_once("filter.inc"); require_once("shaper.inc"); diff --git a/usr/local/www/load_balancer_relay_protocol.php b/usr/local/www/load_balancer_relay_protocol.php index cfa8086..0869338 100755 --- a/usr/local/www/load_balancer_relay_protocol.php +++ b/usr/local/www/load_balancer_relay_protocol.php @@ -39,7 +39,7 @@ ##|*MATCH=load_balancer_relay_protocol.php* ##|-PRIV -require("guiconfig.inc"); +require_once("guiconfig.inc"); require_once("functions.inc"); require_once("filter.inc"); require_once("shaper.inc"); diff --git a/usr/local/www/load_balancer_virtual_server.php b/usr/local/www/load_balancer_virtual_server.php index 063b02d..4101693 100755 --- a/usr/local/www/load_balancer_virtual_server.php +++ b/usr/local/www/load_balancer_virtual_server.php @@ -39,7 +39,7 @@ ##|*MATCH=load_balancer_virtual_server.php* ##|-PRIV -require("guiconfig.inc"); +require_once("guiconfig.inc"); require_once("functions.inc"); require_once("filter.inc"); require_once("shaper.inc"); |