cvs: livedocs / handlers.php
| From: | Gabor Hojtsy | Date: | Thu, 02 Sep 2004 19:06:07 +0000 |
| Subject: | cvs: livedocs / handlers.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969363739@lists.php.net to get a copy of this message | ||
goba Thu Sep 2 15:06:07 2004 EDT
Modified files:
/livedocs handlers.php
Log:
we need these two globals
http://cvs.php.net/diff.php/livedocs/handlers.php?r1=1.9&r2=1.10&ty=u
Index: livedocs/handlers.php
diff -u livedocs/handlers.php:1.9 livedocs/handlers.php:1.10
--- livedocs/handlers.php:1.9 Thu Sep 2 15:03:14 2004
+++ livedocs/handlers.php Thu Sep 2 15:06:07 2004
@@ -18,7 +18,7 @@
// | Special Handlers for $aliases |
// +----------------------------------------------------------------------+
//
-// $Id: handlers.php,v 1.9 2004/09/02 19:03:14 goba Exp $
+// $Id: handlers.php,v 1.10 2004/09/02 19:06:07 goba Exp $
/***********************************
@@ -40,8 +40,8 @@
function handle_funcref_groups()
{
- return "<h1>$title</h1>\n" . do_contents($GLOBALS['current_page'],
0) . "<br /><br />";
-
+ global $title, $current_page;
+ return "<h1>$title</h1>\n" . do_contents($current_page, 0) . "<br
/><br />";
}
/*******************