Several kinky code smoothed, fixes for admin login
[mailer.git] / inc / config-functions.php
index 4d873332c9101293ec4f77447df3581c4d396105..8f25e9223c51a002747d11f8911c170ceeacf166 100644 (file)
@@ -97,6 +97,7 @@ function setConfigEntry ($configEntry, $value) {
 
 // Checks wether the given config entry is set
 function isConfigEntrySet ($configEntry) {
+       //* DEBUG: */ print __FUNCTION__.':'.$configEntry.'='.intval(isset($GLOBALS['config'][$configEntry])).'<br />';
        return (isset($GLOBALS['config'][$configEntry]));
 }
 
@@ -127,7 +128,7 @@ function getConfigArray () {
        $return = array();
 
        // Is the config set?
-       if (isset($GLOABLS['config'])) {
+       if (isset($GLOBALS['config'])) {
                // Then use it
                $return = $GLOBALS['config'];
        } // END - if