]> git.mxchange.org Git - mailer.git/blobdiff - inc/config-functions.php
A lot fixes to templates and missing functions added, more rewrites
[mailer.git] / inc / config-functions.php
index cde1fa35c3e96e574ae0d41aa0a05581fa7b8f38..49d99272cc6e68dd26a44a7ed3972c334135f944 100644 (file)
@@ -89,5 +89,13 @@ function incrementConfigEntry ($configEntry, $value=1) {
        }
 }
 
+// Checks wether the configuration array is set so the config is loaded
+function isConfigLoaded () {
+       global $_CONFIG;
+
+       // Check all
+       return ((isset($_CONFIG)) && (is_array($_CONFIG)) && (count($_CONFIG) > 0));
+}
+
 // [EOF]
 ?>