diff options
author | Chris Smith <chris.eureka@jalakai.co.uk> | 2008-08-13 14:59:29 +0200 |
---|---|---|
committer | Chris Smith <chris.eureka@jalakai.co.uk> | 2008-08-13 14:59:29 +0200 |
commit | 94806c6f093ed94d70c5720d2ea1f1747440087f (patch) | |
tree | 5b73d1c050fe59274b13975f52b03d3d2b8e95df /inc/parserutils.php | |
parent | 13ecfb181fddc89a007270d1d325db1f7e4f5fcc (diff) | |
download | rpg-94806c6f093ed94d70c5720d2ea1f1747440087f.tar.gz rpg-94806c6f093ed94d70c5720d2ea1f1747440087f.tar.bz2 |
add third parameter to plugin_load(), $new, to allow return of a new plugin object instance
darcs-hash:20080813125929-f07c6-4f20e147334ebc5be006ec9f260331950ac2e4cb.gz
Diffstat (limited to 'inc/parserutils.php')
-rw-r--r-- | inc/parserutils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parserutils.php b/inc/parserutils.php index 414e2e3d6..9f8b88cb6 100644 --- a/inc/parserutils.php +++ b/inc/parserutils.php @@ -594,7 +594,7 @@ function & p_get_renderer($mode) { $Renderer = & new $rclass(); }else{ // Maybe a plugin is available? - $Renderer =& plugin_load('renderer',$rname); + $Renderer =& plugin_load('renderer',$rname, true); if(is_null($Renderer)){ msg("No renderer '$rname' found for mode '$mode'",-1); return null; |