X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fautopurge.php;h=5f2af6265f74bf608ea741f66e7c2d5923e4613f;hb=eebb737fcb823c159d66732d37c336bc932c3246;hp=d824f93912de3b3294786bab23d0ebdceb1ac118;hpb=f26aab4a55972825a0d3ef9346c8c8dea8752b7b;p=mailer.git diff --git a/inc/autopurge.php b/inc/autopurge.php index d824f93912..5f2af6265f 100644 --- a/inc/autopurge.php +++ b/inc/autopurge.php @@ -38,13 +38,13 @@ // 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); } // END - if // Init & set the include pool INIT_INC_POOL(); -SET_INC_POOL(GET_DIR_AS_ARRAY("inc/autopurge/", "purge-")); +SET_INC_POOL(getArrayFromDirectory('inc/autopurge/', 'purge-')); // Run the filter runFilterChain('load_includes');