cvs: pear-core /PEAR Dependency.php
| From: | Greg Beaver | Date: | Sun, 26 Mar 2006 23:25:56 +0000 |
| Subject: | cvs: pear-core /PEAR Dependency.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4667@lists.php.net to get a copy of this message | ||
cellog Sun Mar 26 23:25:56 2006 UTC
Modified files:
/pear-core/PEAR Dependency.php
Log:
remove all @
http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/Dependency.php?r1=1.41&r2=1.42&diff_format=u
Index: pear-core/PEAR/Dependency.php
diff -u pear-core/PEAR/Dependency.php:1.41 pear-core/PEAR/Dependency.php:1.42
--- pear-core/PEAR/Dependency.php:1.41 Fri Jan 6 04:47:36 2006
+++ pear-core/PEAR/Dependency.php Sun Mar 26 23:25:56 2006
@@ -18,7 +18,7 @@
// +----------------------------------------------------------------------+
//
// THIS FILE IS DEPRECATED IN FAVOR OF DEPENDENCY2.PHP, AND IS NOT USED IN THE INSTALLER
-// $Id: Dependency.php,v 1.41 2006/01/06 04:47:36 cellog Exp $
+// $Id: Dependency.php,v 1.42 2006/03/26 23:25:56 cellog Exp $
require_once "PEAR.php";
require_once "OS/Guess.php";
@@ -365,7 +365,7 @@
$path_elements = explode(PATH_SEPARATOR, getenv('PATH'));
foreach ($path_elements as $dir) {
$file = $dir . DIRECTORY_SEPARATOR . $program . $exe_suffix;
- if (@file_exists($file) && @is_executable($file)) {
+ if (file_exists($file) && is_executable($file)) {
return false;
}
}