cvs: phpdoc /scripts file-entities.php.in
| From: | Mark Wiesemann | Date: | Wed, 15 Oct 2008 18:16:39 +0000 |
| Subject: | cvs: phpdoc /scripts file-entities.php.in | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2242@lists.php.net to get a copy of this message | ||
wiesemann Wed Oct 15 18:16:39 2008 UTC
Modified files:
/phpdoc/scripts file-entities.php.in
Log:
- use single quotes instead of double quotes => paths like
'C:\data\repository\phpdoc\' didn't work because "\r" caused a broken path
('epository\phpdoc\')
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/file-entities.php.in?r1=1.54&r2=1.55&diff_format=u
Index: phpdoc/scripts/file-entities.php.in
diff -u phpdoc/scripts/file-entities.php.in:1.54 phpdoc/scripts/file-entities.php.in:1.55
--- phpdoc/scripts/file-entities.php.in:1.54 Mon Mar 3 09:19:44 2008
+++ phpdoc/scripts/file-entities.php.in Wed Oct 15 18:16:38 2008
@@ -17,7 +17,7 @@
| Gabor Hojtsy <goba@php.net> |
+----------------------------------------------------------------------+
- $Id: file-entities.php.in,v 1.54 2008/03/03 09:19:44 rquadling Exp $
+ $Id: file-entities.php.in,v 1.55 2008/10/15 18:16:38 wiesemann Exp $
*/
/**
@@ -49,16 +49,16 @@
$not_windows = !eregi('WIN',PHP_OS);
// The dir for PHP. If the cygwin wasn't compiled on Cygwin, the path needs to be stripped.
-$out_dir = ($not_windows || eregi('CYGWIN',php_uname()))? "@WORKDIR@" :
abs_path(strip_cygdrive("@WORKDIR@"));
+$out_dir = ($not_windows || eregi('CYGWIN',php_uname()))? '@WORKDIR@' :
abs_path(strip_cygdrive('@WORKDIR@'));
// The language encoding to use
-$encoding = "@ENCODING@";
+$encoding = '@ENCODING@';
// PHP, PECL and additional extension source directories if given
-$php_source = ("@PHP_SOURCE@" === "no" ? false :
abs_path("@PHP_SOURCE@"));
-$pecl_source = ("@PECL_SOURCE@" === "no" ? false :
abs_path("@PECL_SOURCE@"));
+$php_source = ('@PHP_SOURCE@' === 'no' ? false :
abs_path('@PHP_SOURCE@'));
+$pecl_source = ('@PECL_SOURCE@' === 'no' ? false :
abs_path('@PECL_SOURCE@'));
$ext_sources = array();
-foreach (explode(":", "@EXT_SOURCE@") as $path) {
+foreach (explode(':', '@EXT_SOURCE@') as $path) {
if(!empty($path)) {
$ext_sources[]= abs_path($path);
}