summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-01 22:14:22 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-01 22:14:22 +0000
commit93d9bb12bfc7e16c27977f06c12537a51ea376ac (patch)
treeca87c086768247855a4edc34800ca8363cb0e8aa /etc/inc/config.inc
parentab94ba001994625d6fe0a249361f5feeca5523c2 (diff)
downloadpfsense-93d9bb12bfc7e16c27977f06c12537a51ea376ac.zip
pfsense-93d9bb12bfc7e16c27977f06c12537a51ea376ac.tar.gz
Fix errors because of the function is_file_included is not yet declared in some cases.
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r--etc/inc/config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 847d7f3..2ace035 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -49,7 +49,7 @@
if($g['booting']) echo ".";
/* do not load this file twice. */
-if (is_file_included("/etc/inc/config.inc"))
+if (in_array("/etc/inc/config.inc", get_included_files()))
return;
// Set the memory limit to 128M. When someone has something like 500+ tunnels
OpenPOWER on IntegriCloud