diff --git a/config.inc.php b/config.inc.php index 95737be..8d5c323 100644 --- a/config.inc.php +++ b/config.inc.php @@ -460,9 +460,9 @@ function _config_invalidate_cache($file, $cache_file) : ConfigCacheEntry if(!$proto_id) throw new Exception("Bad proto_id: {$proto_id}"); + $GLOBALS['CONFIG_CURRENT_FILE'] = $file; $GLOBALS['CONFIG_CURRENT_PROTO_ID'] = $proto_id; $GLOBALS['CONFIG_EXTRAS'] = ConfigCacheEntryExtras::create(); - $GLOBALS['CONFIG_BHL_FUNCS'] = array(); $pres = config_parse(config_base_dirs(), $file); if($pres->error !== 0)