* -------------------------------------------------------------------- *
* Kurzbeschreibung : Sendet freigegebene Mails aus den Pool *
* -------------------------------------------------------------------- *
- * $Revision:: 856 $ *
+ * $Revision:: $ *
* $Date:: $ *
* $Tag:: 0.2.1-FINAL $ *
* $Author:: $ *
// 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);
}
// 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']);