]> git.mxchange.org Git - mailer.git/blobdiff - inc/config-functions.php
Renamed isConfigLoaded() to isConfigurationLoaded()
[mailer.git] / inc / config-functions.php
index f113996598da95cbae43db8d5558c09f7e943ebc..bb8e9696fdbbe9056216cfe08b2b1e5747e302e4 100644 (file)
@@ -44,7 +44,7 @@ if (!defined('__SECURITY')) {
 // 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
@@ -116,7 +116,7 @@ function incrementConfigEntry ($configEntry, $value=1) {
 }
 
 // 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));
 }
@@ -127,7 +127,7 @@ function getConfigArray () {
        $return = null;
 
        // Is the config set?
-       if (isConfigLoaded()) {
+       if (isConfigurationLoaded()) {
                // Then use it
                $return = $GLOBALS['config'];
        } // END - if