cvs: docweb /include lib_general.inc.php

[email protected] ("Nuno Lopes")
Newsgroups php.doc.web
Message-ID <cvsnlopess1123083777@cvsserver>
nlopess		Wed Aug  3 11:42:57 2005 EDT

  Modified files:              
    /docweb/include	lib_general.inc.php 
  Log:
  kill the warning
  
http://cvs.php.net/diff.php/docweb/include/lib_general.inc.php?r1=1.45&r2=1.46&ty=u
Index: docweb/include/lib_general.inc.php
diff -u docweb/include/lib_general.inc.php:1.45 docweb/include/lib_general.inc.php:1.46
--- docweb/include/lib_general.inc.php:1.45	Thu Jul 28 14:05:10 2005
+++ docweb/include/lib_general.inc.php	Wed Aug  3 11:42:57 2005
@@ -18,7 +18,7 @@
 |                   Gabor Hojtsy <[email protected]>                        |
 |                   Sean Coates <[email protected]>                         |
 +----------------------------------------------------------------------+
-$Id: lib_general.inc.php,v 1.45 2005/07/28 18:05:10 nlopess Exp $
+$Id: lib_general.inc.php,v 1.46 2005/08/03 15:42:57 nlopess Exp $
 */
 
 require_once dirname(__FILE__) . '/lib_auth.inc.php';
@@ -282,7 +282,7 @@
         (filemtime($localFile) > time() - RSS_STALE_CACHE_BUGS))) {
         // cache miss: download (& cache) rss
         $fp = fopen($localFile, 'w');
-        fwrite($fp, file_get_contents($RSS_URL));
+        fwrite($fp, @file_get_contents($RSS_URL));
         fclose($fp);
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.