You appear to be a bot. Output may be restricted
Description
Satisfy pre-requisites for oik-lib shared library processingThe "oik-lib" library is dependent upon "oik_boot" and "bwtrace". "oik_boot" for functions such as oik_require() and "bwtrace" for the trace APIs These are shareable shared libraries from the "oik" and "oik-bwtrace" plugins. If they are not registered by these plugins then we need to load them ourselves. Having loaded these shared libraries we register them so that other plugins can use oik_require_lib()
Usage
$bool = oik_lib_boot();
Parameters
Returns
bool true if "oik_boot" and "bwtrace" both loadedSource
File name: oik-libs/libs/oik-lib.phpLines:
1 to 16 of 16
function oik_lib_boot() { $loaded = true; if ( !function_exists( "oik_path" ) ) { $oik_boot_file = __DIR__ . "/oik_boot.php"; $loaded = include_once( $oik_boot_file ); } if ( $loaded && !function_exists( "bw_trace2" ) && function_exists( "oik_require" ) ) { $trace_file = oik_path( "libs/bwtrace.php", "oik-lib" ); $loaded = include_once( $trace_file ); } if ( $loaded ) { oik_lib_register_default_libs(); } return( $loaded ); }View on GitHub