You appear to be a bot. Output may be restricted
Description
Load a library file
Usage
oik_batch_load_lib( $lib );
Parameters
- $lib
- ( string ) required – the library file name e.g. oik-cli
Returns
voidSource
File name: oik-batch/oik-batch.phpLines:
1 to 9 of 9
function oik_batch_load_lib( $lib ) { $dir = dirname( __FILE__ ); $lib_file = "$dir/libs/$lib.php"; if ( file_exists( $lib_file ) ) { require_once( $lib_file ); } else { echo "Missing shared library file: $lib_file" . PHP_EOL; } }View on GitHub