X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fload_cache.php;h=2a6dc159d522cc433610256f34fd01b83a8f4862;hp=14a60d63dd814e0b78a4c0ee81ca98405d33a848;hb=d1637dad0b2ca0e5fb411ee0843f01bfb4cc94e0;hpb=e01fcf1ca8ddeb72af76465df3ef72301a1cdae7 diff --git a/inc/load_cache.php b/inc/load_cache.php index 14a60d63dd..2a6dc159d5 100644 --- a/inc/load_cache.php +++ b/inc/load_cache.php @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Mehr Cache-Dateien nachladen * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * @@ -38,12 +38,24 @@ // Some security stuff... if (!defined('__SECURITY')) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); } -// Run the filter -runFilterChain('load_includes', GET_DIR_AS_ARRAY("inc/loader/", "load_cache-")); +// Init & set the INC_POOL +INIT_INC_POOL(); +SET_INC_POOL(getArrayFromDirectory('inc/loader/', 'load_cache-')); + +// Pre-load filter cacher +loadIncludeOnce('inc/loader/load_cache-filter.php'); + +// Init filter system here +initFilterSystem(); + +// We have to include all here by-hand +foreach (GET_INC_POOL() as $inc) { + loadIncludeOnce($inc); +} // END - foreach // ?>