More misc fixes and rewrites (sorry, lame description)
[mailer.git] / inc / pool-update.php
index ef5fab6c075e849ae2b0f767e74ec4f8e49fe261..30eb9f4e06c1c933d12d452854b4be94cdd1468f 100644 (file)
@@ -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');