cvs: pear-core / System.php
| From: | Pierre-Alain Joye | Date: | Fri, 16 Jun 2006 13:56:02 +0000 |
| Subject: | cvs: pear-core / System.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4823@lists.php.net to get a copy of this message | ||
pajoye Fri Jun 16 13:56:02 2006 UTC
Modified files:
/pear-core System.php
Log:
- MFB: open_basedir warning
http://cvs.php.net/viewcvs.cgi/pear-core/System.php?r1=1.54&r2=1.55&diff_format=u
Index: pear-core/System.php
diff -u pear-core/System.php:1.54 pear-core/System.php:1.55
--- pear-core/System.php:1.54 Sun Mar 5 21:18:08 2006
+++ pear-core/System.php Fri Jun 16 13:56:02 2006
@@ -15,7 +15,7 @@
* @author Tomas V.V.Cox <cox@idecnet.com>
* @copyright 1997-2006 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: System.php,v 1.54 2006/03/05 21:18:08 cellog Exp $
+ * @version CVS: $Id: System.php,v 1.55 2006/06/16 13:56:02 pajoye Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -495,7 +495,7 @@
foreach ($exe_suffixes as $suff) {
foreach ($path_elements as $dir) {
$file = $dir . DIRECTORY_SEPARATOR . $program . $suff;
- if ($pear_is_executable($file)) {
+ if (@$pear_is_executable($file)) {
return $file;
}
}