diff options
-rw-r--r-- | etc/inc/config.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index e027062..8e64643 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -42,6 +42,11 @@ pfSense_MODULE: config */ +if (php_sapi_name() == 'fpm-fcgi') { + log_error("config.inc is called from GUI interface which is wrong, please report this!"); + return; +} + if($g['booting']) echo "."; /* do not load this file twice. */ |