X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fpool-update.php;h=30eb9f4e06c1c933d12d452854b4be94cdd1468f;hp=7d909d1872d625b0d7de506b3853e6c4345e9a87;hb=525510c6f6ee4798619dba6236c6b6d85263ac22;hpb=508228c85fba8448d00865b1639cb8cd7a69e457 diff --git a/inc/pool-update.php b/inc/pool-update.php index 7d909d1872..30eb9f4e06 100644 --- a/inc/pool-update.php +++ b/inc/pool-update.php @@ -10,7 +10,7 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Sendet freigegebene Mails aus den Pool * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * + * $Revision:: $ * * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * @@ -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(getArrayFromDirectory('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']);