X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fload_extensions.php;h=f804ae6baf432de38bee76b823bffd488ccc387a;hb=e29553ed2308e373d899cc18c0a89a34d2a1c754;hp=21fdf5ee5a905bfe0192c18f35b51ff3951be1e7;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5;p=mailer.git diff --git a/inc/load_extensions.php b/inc/load_extensions.php index 21fdf5ee5a..f804ae6baf 100644 --- a/inc/load_extensions.php +++ b/inc/load_extensions.php @@ -275,16 +275,19 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && (($cacheMode == "init") || ($cacheMode == // Load more cache files (like admins) require_once(PATH."inc/load_cache.php"); } // END - if -} -// Free memory -SQL_FREERESULT($res_ext_crt); + // Free memory + SQL_FREERESULT($res_ext_crt); +} -// Load include files +// Load include files if found if (!empty($INC_POOL[0])) { foreach ($INC_POOL as $inc) { require_once($inc); } // END - foreach + + // Remove array + unset($INC_POOL); } // END - if // Uninstall extensions that are no longer in our system