}
// Filter to load include files
-function FILTER_LOAD_INCLUDES ($data) {
- global $INC_POOL, $CSS;
+function FILTER_LOAD_INCLUDES ($INC_POOL) {
+ global $CSS;
// Is it an array?
if ((!isset($INC_POOL)) || (!is_array($INC_POOL))) {
// Then abort here
DEBUG_LOG(__FILE__, __LINE__, "INC_POOL is no array!");
- return $data;
+ return;
} // END - if
// Check for added include files
require_once($fqfn);
} // END - foreach
- // Remove array
- unset($INC_POOL);
+ // Reset array
+ $INC_POOL = array();
} // END - if
-
- // Return $data
- return $data;
}
// Filter for running SQL commands