X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fload_extensions.php;h=7db086e4e1e24254676de54602d21fceccd33a5b;hb=c3b3af29e6e80926519ade146ac657c036782bd3;hp=bb161afa63f28e1822368897acd48639d39c94e0;hpb=323f6a7c78424b654b62b69eeb44995908a5327e;p=mailer.git diff --git a/inc/load_extensions.php b/inc/load_extensions.php index bb161afa63..7db086e4e1 100644 --- a/inc/load_extensions.php +++ b/inc/load_extensions.php @@ -204,7 +204,6 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && ((($cacheMode == "init") && ($CSS != "1") // Load extensions $file1 = sprintf("%sinc/extensions/ext-%s.php", PATH, $content['ext_name']); - $EXT_CSS = "N"; $EXT_ALWAYS_ACTIVE = "N"; // Does the extension file exists? if (FILE_READABLE($file1)) { @@ -266,7 +265,10 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && ((($cacheMode == "init") && ($CSS != "1") // Free memory SQL_FREERESULT($res_ext_crt); -} // END - if +} elseif (!EXT_IS_ACTIVE("cache")) { + // Init filter system even when there are no extensions installed. #16 + INIT_FILTER_SYSTEM(); +} // Run the filter RUN_FILTER('load_includes', $INC_POOL);