]> git.mxchange.org Git - mailer.git/blobdiff - inc/config-functions.php
rewritten to new functions, some parts rewritten to filters
[mailer.git] / inc / config-functions.php
index 49d99272cc6e68dd26a44a7ed3972c334135f944..95a6fb2cac1d5932399ee5a4f2ff5735f270af7f 100644 (file)
@@ -97,5 +97,17 @@ function isConfigLoaded () {
        return ((isset($_CONFIG)) && (is_array($_CONFIG)) && (count($_CONFIG) > 0));
 }
 
+// Init the config array
+function initConfig () {
+       global $_CONFIG;
+
+       // Set a minimum dummy configuration
+       $_CONFIG = array(
+               'code_length' => 0,
+               'patch_level' => 0,
+               'last_update' => time()
+       );
+}
+
 // [EOF]
 ?>