You appear to be a bot. Output may be restricted
Description
Invoke require_once on an oik include file or other file
Usage
oik_require( $include_file, $plugin );
Parameters
- $include_file
- ( string ) optional default: bobbfunc.inc – the include file (or any other file) that you want to load
- $plugin
- ( string ) optional default: oik – the plugin in which the file is located (default="oik")
Returns
voidSource
File name: oik/libs/oik_boot.phpLines:
1 to 7 of 7
function oik_require( $include_file = "bobbfunc.inc", $plugin="oik" ) { $path = oik_path( $include_file, $plugin ); if ( !file_exists( $path ) ) { bw_log( $path, "path", true, "oik_yourehavingmeon" ); } require_once( $path ); }View on GitHub View on Trac