PfSense Developer Shell - $config always seems to be empty?
- 
 Every time I try to use the developer shell, $config appears to be empty. I've even tried examples straight from the help. echo $config; execprint_r($config); execparse_config(true); print_r($config); execAll of these output nothing. I've tried it on several 2.0 machines, embedded, full installs, etc. I just tried it on 1.2.3 and I got the same thing. I must be doing something wrong, or missing something. I get the feeling that I'm going to feel really dumb when I find out why this isn't working.. 
- 
 I figured it out by looking at one of the pre-recorded macros. global $config;This isn't in the help or documentation anywhere.. I guess I'm the only person who ever got tripped up on it though! 
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.