Skip to content

Commit

Permalink
Oopsie.
Browse files Browse the repository at this point in the history
  • Loading branch information
ozh committed May 25, 2015
1 parent 18cc1a4 commit 6358215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/functions-http.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function yourls_http_post_body( $url, $headers = array(), $data = array(), $opti
function yourls_http_get_proxy() {
$proxy = false;

if( defined( 'YOURLS_PROXY' ) && !empty( 'YOURLS_PROXY' ) ) {
if( defined( 'YOURLS_PROXY' ) && !empty( YOURLS_PROXY ) ) {
$proxy = YOURLS_PROXY;
// Username (?) and password can be defined as an empty string : no check for empty()
if( defined( 'YOURLS_PROXY_USERNAME' ) && defined( 'YOURLS_PROXY_PASSWORD' ) ) {
Expand Down

0 comments on commit 6358215

Please sign in to comment.