cvs: phpdoc / configure.php
| From: | Hannes Magnusson | Date: | Mon, 21 Jan 2008 19:58:54 +0000 |
| Subject: | cvs: phpdoc / configure.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1056@lists.php.net to get a copy of this message | ||
bjori Mon Jan 21 19:58:54 2008 UTC
Modified files:
/phpdoc configure.php
Log:
Use getenv() rather than _ENV
http://cvs.php.net/viewvc.cgi/phpdoc/configure.php?r1=1.17&r2=1.18&diff_format=u
Index: phpdoc/configure.php
diff -u phpdoc/configure.php:1.17 phpdoc/configure.php:1.18
--- phpdoc/configure.php:1.17 Mon Jan 21 18:07:58 2008
+++ phpdoc/configure.php Mon Jan 21 19:58:54 2008
@@ -17,13 +17,13 @@
| Authors: Dave Barr <dave@php.net> |
+----------------------------------------------------------------------+
- $Id: configure.php,v 1.17 2008/01/21 18:07:58 gwynne Exp $
+ $Id: configure.php,v 1.18 2008/01/21 19:58:54 bjori Exp $
*/
error_reporting(E_ALL);
$srcdir = ".";
-$cvs_id = '$Id: configure.php,v 1.17 2008/01/21 18:07:58 gwynne Exp $';
+$cvs_id = '$Id: configure.php,v 1.18 2008/01/21 19:58:54 bjori Exp $';
echo "configure.php: $cvs_id\n";
@@ -213,7 +213,7 @@
}
}
function find_file($file_array) {
- $paths = explode(PATH_SEPARATOR, $_ENV['PATH']);
+ $paths = explode(PATH_SEPARATOR, getenv('PATH'));
if (is_array($paths)) {
foreach ($paths as $path) {