silence the fopen() in wp_remote_fopen()

git-svn-id: http://svn.automattic.com/wordpress/trunk@4472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2006-11-15 22:46:35 +00:00
parent 7684ebbeac
commit a8889fb947
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@ function add_magic_quotes($array) {
function wp_remote_fopen( $uri ) { function wp_remote_fopen( $uri ) {
if ( ini_get('allow_url_fopen') ) { if ( ini_get('allow_url_fopen') ) {
$fp = fopen( $uri, 'r' ); $fp = @fopen( $uri, 'r' );
if ( !$fp ) if ( !$fp )
return false; return false;
$linea = ''; $linea = '';