cvs: phpdoc /scripts file-entities.php.in

From: Date: Sat, 19 Apr 2003 17:55:41 +0000
Subject: cvs: phpdoc /scripts file-entities.php.in
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352707@lists.php.net to get a copy of this message
goba Sat Apr 19 13:55:41 2003 EDT Modified files: /phpdoc/scripts file-entities.php.in Log: Remove special XSL path value handling, as it would be a problem for xsltproc. It is commented out for a long time for this reason, so this commit does not influence the behaviour of the script... Index: phpdoc/scripts/file-entities.php.in diff -u phpdoc/scripts/file-entities.php.in:1.11 phpdoc/scripts/file-entities.php.in:1.12 --- phpdoc/scripts/file-entities.php.in:1.11 Wed Mar 19 05:48:45 2003 +++ phpdoc/scripts/file-entities.php.in Sat Apr 19 13:55:41 2003 @@ -17,7 +17,7 @@ # | Gabor Hojtsy <goba@php.net> | # +----------------------------------------------------------------------+ # -# $Id: file-entities.php.in,v 1.11 2003/03/19 10:48:45 momo Exp $ +# $Id: file-entities.php.in,v 1.12 2003/04/19 17:55:41 goba Exp $ */ /** @@ -47,9 +47,6 @@ // Zend API integration info (either a path or "not found") $zendapi = ("@ZENDAPI@" == "not found" ? FALSE : "@ZENDAPI@"); -// XSL sheets are used or not (either "yes" or "no") -$xsl_sheet_used = ("@DOCBOOKXSL_USED@" == "yes" ? TRUE : FALSE); - // when php complied on cygwin, the working path have to be /cygdrive.. // the below preg_replace have to be done only using binary php complied on MSVC. // let's find if php was complied by cygwin: @@ -355,16 +352,10 @@ */ function entstr($entname, $filename) { - global $xsl_sheet_used; - // If we have no file, than this is not a system entity if ($filename == "") { return sprintf("<!ENTITY %-40s ''>\n", $entname); } else { - // If XSL sheet is used, we need the special file:/// - // notation before the file name - // !! BUT it's not honored by xsltproc so uncomment it for now !! - // if ($xsl_sheet_used) { $filename = "file:///" . $filename; } return sprintf("<!ENTITY %-40s SYSTEM '%s'>\n", $entname, strip_cygdrive($filename)); } }

« previous php.doc (#969352707) next »