logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: pear-core /OS Guess.php: msg#00049

Subject: cvs: pear-core /OS Guess.php
pajoye          Fri Jun 16 11:42:16 2006 UTC

  Modified files:              
    /pear-core/OS       Guess.php 
  Log:
  - open_basedir warning
  
  
http://cvs.php.net/viewcvs.cgi/pear-core/OS/Guess.php?r1=1.22&r2=1.23&diff_format=u
Index: pear-core/OS/Guess.php
diff -u pear-core/OS/Guess.php:1.22 pear-core/OS/Guess.php:1.23
--- pear-core/OS/Guess.php:1.22 Fri Jun  9 01:20:05 2006
+++ pear-core/OS/Guess.php      Fri Jun 16 11:42:16 2006
@@ -16,7 +16,7 @@
  * @author     Gregory Beaver <cellog@xxxxxxx>
  * @copyright  1997-2005 The PHP Group
  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
- * @version    CVS: $Id: Guess.php,v 1.22 2006/06/09 01:20:05 pajoye Exp $
+ * @version    CVS: $Id: Guess.php,v 1.23 2006/06/16 11:42:16 pajoye Exp $
  * @link       http://pear.php.net/package/PEAR
  * @since      File available since PEAR 0.1
  */
@@ -205,8 +205,8 @@
         if (!@file_exists('/usr/bin/cpp') || !@is_executable('/usr/bin/cpp')) {
             // Use glibc's <features.h> header file to
             // get major and minor version number:
-            if (file_exists('/usr/include/features.h') &&
-                  is_readable('/usr/include/features.h')) {
+            if (@file_exists('/usr/include/features.h') &&
+                  @is_readable('/usr/include/features.h')) {
                 $features_file = fopen('/usr/include/features.h', 'rb');
                 while (!feof($features_file)) {
                     $line = fgets($features_file, 8192);

-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>