chagenbu Thu Feb 8 14:30:09 2001 EDT
Modified files:
/php4/pear/PHPDoc/renderer/html PhpdocHTMLRenderer.php
Log:
fix a type - $templateRoot was meant, not $path.
Index: php4/pear/PHPDoc/renderer/html/PhpdocHTMLRenderer.php
diff -u php4/pear/PHPDoc/renderer/html/PhpdocHTMLRenderer.php:1.3
php4/pear/PHPDoc/renderer/html/PhpdocHTMLRenderer.php:1.4
--- php4/pear/PHPDoc/renderer/html/PhpdocHTMLRenderer.php:1.3 Sun Dec 3 06:36:01
2000
+++ php4/pear/PHPDoc/renderer/html/PhpdocHTMLRenderer.php Thu Feb 8 14:30:09
+2001
@@ -40,7 +40,7 @@
*/
function setPath($path) {
- if ("" != $path && "/" != substr($path, -1))
+ if (!empty($path) && "/" != substr($path, -1))
$path .= "/";
$this->path = $path;
@@ -53,7 +53,7 @@
*/
function setTemplateRoot($templateRoot) {
- if ("" != $path && "/" != substr($templateRoot, -1))
+ if (!empty($templateRoot) && '/' != substr($templateRoot, -1))
$templateRoot .= "/";
$this->templateRoot = $templateRoot;
@@ -75,4 +75,4 @@
} // end func encode
} // end class PhpdocHTMLRenderer
-?>
\ No newline at end of file
+?>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]