You appear to be a bot. Output may be restricted
Description
Return the Basic Authorization codeWe use the URL to allow multiple servers with different user:pass for each
Usage
$string = bw_basic_authorization( $url );
Parameters
- $url
- ( string ) optional –
Returns
string the code made up from a constant found in wp-config.phpSource
File name: oik-clone/admin/oik-clone-post-file.phpLines:
1 to 11 of 11
function bw_basic_authorization( $url=null ) { $suffix = md5( $url ); if ( defined( 'OIK_BASIC_AUTHORIZATION_'. $suffix ) ) { $basic_authorization = 'Basic ' . constant( 'OIK_BASIC_AUTHORIZATION_' . $suffix ); } elseif ( defined( 'OIK_BASIC_AUTHORIZATION' ) ) { $basic_authorization = 'Basic ' . OIK_BASIC_AUTHORIZATION; } else { $basic_authorization = 'Basic ally_we_expect_this_to_fail'; } return( $basic_authorization ); }View on GitHub