cvs: pear-core /OS Guess.php
| From: | Pierre-Alain Joye | Date: | Fri, 09 Jun 2006 01:20:05 +0000 |
| Subject: | cvs: pear-core /OS Guess.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4789@lists.php.net to get a copy of this message | ||
pajoye Fri Jun 9 01:20:05 2006 UTC
Modified files:
/pear-core/OS Guess.php
Log:
- no choice here, we must use @ (openbasedir..)
http://cvs.php.net/viewcvs.cgi/pear-core/OS/Guess.php?r1=1.21&r2=1.22&diff_format=u
Index: pear-core/OS/Guess.php
diff -u pear-core/OS/Guess.php:1.21 pear-core/OS/Guess.php:1.22
--- pear-core/OS/Guess.php:1.21 Sun Mar 5 20:58:31 2006
+++ pear-core/OS/Guess.php Fri Jun 9 01:20:05 2006
@@ -16,7 +16,7 @@
* @author Gregory Beaver <cellog@php.net>
* @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.21 2006/03/05 20:58:31 cellog Exp $
+ * @version CVS: $Id: Guess.php,v 1.22 2006/06/09 01:20:05 pajoye Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since PEAR 0.1
*/
@@ -202,7 +202,7 @@
return $glibc; // no need to run this multiple times
}
include_once "System.php";
- if (!file_exists('/usr/bin/cpp') || !is_executable('/usr/bin/cpp')) {
+ 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') &&