Revision c3bc039c
Added by Ermal Luçi over 10 years ago
etc/inc/config.inc | ||
---|---|---|
42 | 42 |
pfSense_MODULE: config |
43 | 43 |
*/ |
44 | 44 |
|
45 |
if (php_sapi_name() == 'fpm-fcgi') { |
|
46 |
log_error("config.inc is called from GUI interface which is wrong, please report this!"); |
|
47 |
return; |
|
48 |
} |
|
49 |
|
|
45 | 50 |
if($g['booting']) echo "."; |
46 | 51 |
|
47 | 52 |
/* do not load this file twice. */ |
Also available in: Unified diff
Do not let the config.inc to be included from GUI scripts.