From d083d6c04392a4da0496e8fb695ed7212e3e5186 Mon Sep 17 00:00:00 2001 From: rurban Date: Sat, 25 Sep 2004 16:26:08 +0000 Subject: [PATCH] some plugins use HTML git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3984 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/WikiPluginCached.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/WikiPluginCached.php b/lib/WikiPluginCached.php index d858fc4f3..7496f2edb 100644 --- a/lib/WikiPluginCached.php +++ b/lib/WikiPluginCached.php @@ -1,4 +1,4 @@ -asXml(); trigger_error($errortext, E_USER_WARNING); } else { $red = array(255,0,0); $grey = array(221,221,221); + if (is_object($errortext)) + $errortext = $errortext->asString(); $im = $this->text2img($errortext, 2, $red, $grey); if (!$im) { trigger_error($errortext, E_USER_WARNING); @@ -1001,6 +1005,12 @@ class WikiPluginCached extends WikiPlugin // $Log: not supported by cvs2svn $ +// Revision 1.13 2004/09/22 13:46:25 rurban +// centralize upload paths. +// major WikiPluginCached feature enhancement: +// support _STATIC pages in uploads/ instead of dynamic getimg.php? subrequests. +// mainly for debugging, cache problems and action=pdf +// // Revision 1.12 2004/09/07 13:26:31 rurban // new WikiPluginCached option debug=static and some more sf.net defaults for VisualWiki // -- 2.45.0