registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_RANDOMIZER');
registerFilter(__FUNCTION__, __LINE__, 'init', 'LOAD_RUNTIME_INCLUDES');
registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_EXTENSIONS');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_SESSION');
registerFilter(__FUNCTION__, __LINE__, 'init', 'SET_CURRENT_DATE');
registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_RANDOM_NUMBER');
registerFilter(__FUNCTION__, __LINE__, 'init', 'CHECK_REPOSITORY_REVISION');
$GLOBALS['cache_array']['filter'] = $filterArray;
}
-// Loads filter for given extension if present. This function will silently
-// ignore absent filter files.
+/**
+ * Loads filter for given extension if present. This function will silently
+ * ignore absent filter files.
+ *
+ * @param $ext_name Name of extension
+ * @return void
+ */
function loadExtensionFilters ($ext_name) {
+ // Debug message
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ' - ENTERED!');
+
// Do we have cache entry?
if (!isset($GLOBALS[__FUNCTION__][$ext_name])) {
// Default is not found
logDebugMessage(__FUNCTION__, __LINE__, 'Filter include file ' . $incFileName . ' for extension ' . $ext_name . ' is missing.');
}
} // END - if
+
+ // Debug message
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ',result=' . intval($GLOBALS[__FUNCTION__][$ext_name]) . ' - EXIT!');
}
// [EOF]