X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fpool-update.php;h=30eb9f4e06c1c933d12d452854b4be94cdd1468f;hp=256e16109e0cca3f026053a3f75f6d9c89a0ce58;hb=48b997e125d13e5184281449feb9f4c8caf48e56;hpb=f26aab4a55972825a0d3ef9346c8c8dea8752b7b diff --git a/inc/pool-update.php b/inc/pool-update.php index 256e16109e..30eb9f4e06 100644 --- a/inc/pool-update.php +++ b/inc/pool-update.php @@ -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); } @@ -53,7 +53,7 @@ $GLOBALS['pool_cnt'] = 0; // Init & set the include pool INIT_INC_POOL(); -SET_INC_POOL(GET_DIR_AS_ARRAY("inc/pool/", "pool-")); +SET_INC_POOL(getArrayFromDirectory('inc/pool/', 'pool-')); // Run the filter runFilterChain('load_includes');