Update of /cvsroot/phpwiki/phpwiki/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14745
Modified Files:
PageType.php
Log Message:
cache map
Index: PageType.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/PageType.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -2 -b -p -d -r1.43 -r1.44
--- PageType.php 2 Feb 2005 20:40:12 -0000 1.43
+++ PageType.php 23 Apr 2005 11:07:34 -0000 1.44
@@ -121,4 +121,6 @@ class PageType_wikiforum extends PageTyp
/* To prevent from PHP5 Fatal error: Using $this when not in object context */
function getInterwikiMap ($pagetext = false) {
+ static $map;
+ if (empty($map))
$map = new PageType_interwikimap($pagetext);
return $map;
@@ -475,4 +477,7 @@ class PageFormatter_pdf extends PageForm
}
// $Log$
+// Revision 1.44 2005/04/23 11:07:34 rurban
+// cache map
+//
// Revision 1.43 2005/02/02 20:40:12 rurban
// fix Talk: and User: names and links
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|
|