$config
If you look at the file data/config.inc, you'll see that it's simply a PHP Array that the dsX Application "includes" when it first fires up. This associative array contains the values for every "Preference" setting (set from the "Admin -> Preferences area of the admin center). For the purposes of testing and coding, you may view the contents of this array by doing a simple print_r($config); from your application or function.
Note that this is a system global variable, but not a php "super global", so you'll need to declare and pull it in prior to use .. ie:
function show_configuration_variables() {
global $config; // Pull in the global variable
echo "<pre>";
print_r($config);
echo "</pre>";
return;
}
This help file was created with an unregistered evaluation copy of Help & Manual. © EC Software. All rights reserved. This message will not appear if you compile this help file with the registered version of Help & Manual.