cvs: phpdoc /scripts missing-entities.php.in
| From: | Hartmut Holzgraefe | Date: | Wed, 07 Aug 2002 11:29:26 +0000 |
| Subject: | cvs: phpdoc /scripts missing-entities.php.in | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969347880@lists.php.net to get a copy of this message | ||
hholzgra Wed Aug 7 07:29:26 2002 EDT
Modified files:
/phpdoc/scripts missing-entities.php.in
Log:
do windows path conversion on windows only
Index: phpdoc/scripts/missing-entities.php.in
diff -u phpdoc/scripts/missing-entities.php.in:1.5 phpdoc/scripts/missing-entities.php.in:1.6
--- phpdoc/scripts/missing-entities.php.in:1.5 Wed Aug 7 06:31:51 2002
+++ phpdoc/scripts/missing-entities.php.in Wed Aug 7 07:29:26 2002
@@ -17,7 +17,7 @@
# | Gabor Hojtsy <goba@php.net> |
# +----------------------------------------------------------------------+
#
-# $Id: missing-entities.php.in,v 1.5 2002/08/07 10:31:51 hholzgra Exp $
+# $Id: missing-entities.php.in,v 1.6 2002/08/07 11:29:26 hholzgra Exp $
*/
// Print out info for the viewer and log files
@@ -30,8 +30,12 @@
chdir("..");
}
+$NSGMLS = "@NSGMLS@";
+
// Support for Windows systems
-$NSGMLS = str_replace("/", "\\", "@NSGMLS@");
+if (substr(PHP_OS, 0, 3) == 'WIN') {
+ $NSGMLS = "@NSGMLS@"; str_replace("/", "\\", "$NSGMLS");
+}
// Execute a test of the manual
exec(