Description
Build the full external directoryFor non Windows servers (e.g. Linux) we need to find the "home" directory and build $external_dir from there
Usage
$string = oikth_build_external_dir( $dir );Parameters
- $dir
- ( mixed ) required –
Returns
string external directory with "home" directory prepended e.g If [DOCUMENT_ROOT] => /home/t10scom/public_html and $dir parameter is '/zipdir/' then external_directory will become "/home/t10scom/zipdir/"Source
File name: oik-themes/oik-themes.phpLines:
1 to 5 of 5
function oikth_build_external_dir( $dir ) { $external_dir = dirname( $_SERVER['DOCUMENT_ROOT'] ); $external_dir .= $dir; return( $external_dir ); }View on GitHub
Called by
1 to 1 of 1
Invoked by
Calls
Call hooks
API Letters:
