]> git.mxchange.org Git - mailer.git/blobdiff - inc/load_cache.php
RevBomb patch applied (thanks to profi-concept)
[mailer.git] / inc / load_cache.php
index 37449da66528cf8d30330f8420f8d12955a29bad..f45e5ca3b276d0487366199e5d6be1c0785f2643 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Mehr Cache-Dateien nachladen                     *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
  ************************************************************************/
 
 // Some security stuff...
-if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) {
+if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 }
 
-// Load admin cache
-require_once(PATH."inc/load_cache-admin.php");
-
-// Load mod_reg cache
-require_once(PATH."inc/load_cache-modreg.php");
-
-// Load config cache
-require_once(PATH."inc/load_cache-config.php");
-
-// Load refsystem cache
-require_once(PATH."inc/load_cache-refsystem.php");
-
-// Load refdepths cache
-require_once(PATH."inc/load_cache-refdepths.php");
+// Run the filter
+runFilterChain('load_includes', GET_DIR_AS_ARRAY("inc/loader/", "load_cache-"));
 
 //
 ?>