Index: trunk/phase3/includes/HttpFunctions.php |
— | — | @@ -383,6 +383,7 @@ |
384 | 384 | 'timeout' => $timeout ) ); |
385 | 385 | $ctx = stream_context_create( $opts ); |
386 | 386 | |
| 387 | + $status = new Status; |
387 | 388 | $status->value = file_get_contents( $url, false, $ctx ); |
388 | 389 | if( !$status->value ){ |
389 | 390 | $status->error( 'file_get_contents-failed' ); |