summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-18 22:31:11 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-18 22:31:11 +0000
commit96447b2521ce5f4ceae38d766a0b0e1d645239af (patch)
tree89412b218379927f60fe5644fc68bcb1a995cf19 /etc/inc/config.inc
parent923cf42e5b84a03011ef535ba2dc8edb6369fc9f (diff)
downloadpfsense-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.inc6
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");
OpenPOWER on IntegriCloud