diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 22:31:11 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 22:31:11 +0000 |
commit | 96447b2521ce5f4ceae38d766a0b0e1d645239af (patch) | |
tree | 89412b218379927f60fe5644fc68bcb1a995cf19 /etc/inc/config.inc | |
parent | 923cf42e5b84a03011ef535ba2dc8edb6369fc9f (diff) | |
download | pfsense-96447b2521ce5f4ceae38d766a0b0e1d645239af.zip pfsense-96447b2521ce5f4ceae38d766a0b0e1d645239af.tar.gz |
Do not load config.inc twice.
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r-- | etc/inc/config.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 289a752..1703158 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -40,6 +40,12 @@ echo "1"; +/* do not load this file twice. */ +if($config_inc_loaded == true) + return; +else + $config_inc_loaded = true; + /* include globals/utility/XML parser files */ require_once("globals.inc"); require_once("util.inc"); |