cvs: phd /themes/php phpdotnet.php
| From: | Hannes Magnusson | Date: | Sun, 19 Oct 2008 17:12:19 +0000 |
| Subject: | cvs: phd /themes/php phpdotnet.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2269@lists.php.net to get a copy of this message | ||
bjori Sun Oct 19 17:12:19 2008 UTC
Modified files:
/phd/themes/php phpdotnet.php
Log:
Fixed bug#45071 (Links to require/include(_once) not rendered).
http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.55&r2=1.56&diff_format=u
Index: phd/themes/php/phpdotnet.php
diff -u phd/themes/php/phpdotnet.php:1.55 phd/themes/php/phpdotnet.php:1.56
--- phd/themes/php/phpdotnet.php:1.55 Sun Oct 19 14:25:39 2008
+++ phd/themes/php/phpdotnet.php Sun Oct 19 17:12:19 2008
@@ -1,5 +1,5 @@
<?php
-/* $Id: phpdotnet.php,v 1.55 2008/10/19 14:25:39 bjori Exp $ */
+/* $Id: phpdotnet.php,v 1.56 2008/10/19 17:12:19 bjori Exp $ */
abstract class phpdotnet extends PhDTheme {
protected $elementmap = array(
@@ -150,6 +150,13 @@
);
public function __construct(array $IDs, array $filenames, $ext = "php", $chunked =
true) {
+ /* See bug#45071 */
+ $IDs[1]["include"] = "function.include";
+ $IDs[1]["include-once"] = "function.include-once";
+ $IDs[1]["require"] = "function.require";
+ $IDs[1]["require-once"] = "function.require-once";
+ $IDs[1]["return"] = "function.return";
+
parent::__construct($IDs, $ext);
$this->ext = $ext;
if (isset($filenames["version"], $filenames["acronym"])) {