summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-11-25 15:07:41 +0100
committerErmal LUÇI <eri@pfsense.org>2014-11-25 15:07:41 +0100
commit4ec33e13b25761495910061eb1fc6c82604b44f8 (patch)
treef8c686b31776665d28b15cda062ffad7dd21bb30 /etc/inc
parent624bf131cce15b3c4f93d4f27dee64aa73044856 (diff)
downloadpfsense-4ec33e13b25761495910061eb1fc6c82604b44f8.zip
pfsense-4ec33e13b25761495910061eb1fc6c82604b44f8.tar.gz
Provision for inclusion from different places.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/config.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 8e64643..f9f3a78 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -43,6 +43,8 @@
*/
if (php_sapi_name() == 'fpm-fcgi') {
+ if (!function_exists('log_error'))
+ require_once("/etc/inc/util.inc");
log_error("config.inc is called from GUI interface which is wrong, please report this!");
return;
}
OpenPOWER on IntegriCloud