]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions.php
Fixes for wrong config entries
[mailer.git] / inc / extensions.php
index 608efa6227dea95ea363a96639f43ab3243da597..0e2b92430e05342bc32d3b64cd3b137465968df9 100644 (file)
@@ -186,6 +186,9 @@ function EXTENSION_REGISTER ($ext_name, $id, $dry_run=false)
                                        foreach ($INC_POOL as $inc) {
                                                require_once($inc);
                                        } // END - foreach
+
+                                       // Remove array
+                                       unset($INC_POOL);
                                } // END - if
 
                                // Register extension
@@ -239,7 +242,7 @@ function EXTENSION_REGISTER ($ext_name, $id, $dry_run=false)
 }
 //
 function EXTENSION_RUN_SQLS($id, $EXT_LOAD_MODE) {
-       global $cacheInstance;
+       global $cacheInstance, $_CONFIG;
        $SQLs = array();
 
        // By default no SQL has been executed