// Init the config array
function initConfig () {
// Init not if already found
- if (isConfigLoaded()) {
+ if (isConfigurationLoaded()) {
// Already initialized
debug_report_bug(sprintf("[%s:%s] Configuration is already initialized.", __FUNCTION__, __LINE__));
} // END - if
}
// Checks wether the configuration array is set so the config is loaded
-function isConfigLoaded () {
+function isConfigurationLoaded () {
// Check all
return ((isset($GLOBALS['config'])) && (is_array($GLOBALS['config'])) && (count($GLOBALS['config']) > 0));
}
$return = null;
// Is the config set?
- if (isConfigLoaded()) {
+ if (isConfigurationLoaded()) {
// Then use it
$return = $GLOBALS['config'];
} // END - if