X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpool-update.php;h=dc7da9a39475335c4002f6652a7f8d9ce394a704;hb=9cfe8dd2ab2dc5b3abb38789c8819adcb797155f;hp=5aeb2e2faa2ef25b186570da3ef4f10da6617e81;hpb=414570c5081d337bb6c28dcf521bd8bca02f69e7;p=mailer.git diff --git a/inc/pool-update.php b/inc/pool-update.php index 5aeb2e2faa..dc7da9a394 100644 --- a/inc/pool-update.php +++ b/inc/pool-update.php @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Sendet freigegebene Mails aus den Pool * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 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,7 +38,7 @@ // 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); } @@ -51,8 +51,12 @@ if (isResetModeEnabled()) { // Init counter $GLOBALS['pool_cnt'] = 0; +// Init & set the include pool +INIT_INC_POOL(); +SET_INC_POOL(GET_DIR_AS_ARRAY('inc/pool/', 'pool-')); + // Run the filter -runFilterChain('load_includes', GET_DIR_AS_ARRAY("inc/pool/", "pool-")); +runFilterChain('load_includes'); // Remove counter again unset($GLOBALS['pool_cnt']);