]> git.mxchange.org Git - mailer.git/blobdiff - inc/load_extensions.php
General directory structure added for debug extension
[mailer.git] / inc / load_extensions.php
index bb161afa63f28e1822368897acd48639d39c94e0..7db086e4e1e24254676de54602d21fceccd33a5b 100644 (file)
@@ -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);