cvs: pear-core(PEAR_1_4) / System.php
| From: | Pierre-Alain Joye | Date: | Fri, 16 Jun 2006 13:55:16 +0000 |
| Subject: | cvs: pear-core(PEAR_1_4) / System.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4822@lists.php.net to get a copy of this message | ||
pajoye Fri Jun 16 13:55:16 2006 UTC
Modified files: (Branch: PEAR_1_4)
/pear-core System.php
Log:
- open_basedir warning...
http://cvs.php.net/viewcvs.cgi/pear-core/System.php?r1=1.53&r2=1.53.2.1&diff_format=u
Index: pear-core/System.php
diff -u pear-core/System.php:1.53 pear-core/System.php:1.53.2.1
--- pear-core/System.php:1.53 Fri Jan 6 04:47:36 2006
+++ pear-core/System.php Fri Jun 16 13:55:16 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.53 2006/01/06 04:47:36 cellog Exp $
+ * @version CVS: $Id: System.php,v 1.53.2.1 2006/06/16 13:55:16 pajoye Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -491,7 +491,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;
}
}