svn: phpdoc/doc-base/trunk/scripts/
| From: | Nilgun Belma Buguner | Date: | Tue, 14 Jul 2009 15:28:11 +0000 |
| Subject: | svn: phpdoc/doc-base/trunk/scripts/ | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4453@lists.php.net to get a copy of this message | ||
nilgun Tue, 14 Jul 2009 15:28:11 +0000
URL: http://svn.php.net/viewvc?view=revision&revision=284078
Changed paths:
U phpdoc/doc-base/trunk/scripts/file-entities.php.in
Log:
fix linux build.
Modified: phpdoc/doc-base/trunk/scripts/file-entities.php.in
===================================================================
--- phpdoc/doc-base/trunk/scripts/file-entities.php.in 2009-07-14 15:12:27 UTC (rev 284077)
+++ phpdoc/doc-base/trunk/scripts/file-entities.php.in 2009-07-14 15:28:11 UTC (rev 284078)
@@ -181,9 +181,9 @@
if ($file[0] == ".") { continue; }
// If we found a directory, and it's name is not
- // CVS, recursively go into it, and generate entities
+ // .svn, recursively go into it, and generate entities
if (is_dir($work_dir . "/" . $file)) {
- if ($file == "CVS") { continue; }
+ if ($file == ".svn") { continue; }
file_entities($work_dir . "/" . $file, $trans_dir, $orig_dir, $entities,
$prefix);
}
@@ -303,7 +303,7 @@
if ($filename == "") {
return sprintf("<!ENTITY %-40s ''>\n", $entname);
} else {
- return sprintf("<!ENTITY %-40s SYSTEM 'file:///%s'>\n", $entname,
str_replace(str_replace("\\", "/", $GLOBALS['out_dir']),
'..', str_replace(array("\\", ' '), array("/",
'%20'), $filename)));
+ return sprintf("<!ENTITY %-40s SYSTEM 'file:///%s'>\n", $entname,
str_replace(array("\\", ' '), array("/", '%20'),
$filename));
}
}