]> git.mxchange.org Git - mailer.git/blobdiff - inc/autopurge.php
is now located in ['config']
[mailer.git] / inc / autopurge.php
index d824f93912de3b3294786bab23d0ebdceb1ac118..5f2af6265f74bf608ea741f66e7c2d5923e4613f 100644 (file)
 
 // 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');