From: <var...@us...> - 2014-11-09 17:36:51
|
Revision: 9292 http://sourceforge.net/p/phpwiki/code/9292 Author: vargenau Date: 2014-11-09 17:36:49 +0000 (Sun, 09 Nov 2014) Log Message: ----------- filterThroughCmd is void Modified Paths: -------------- trunk/lib/plugin/Ploticus.php Modified: trunk/lib/plugin/Ploticus.php =================================================================== --- trunk/lib/plugin/Ploticus.php 2014-11-09 17:24:37 UTC (rev 9291) +++ trunk/lib/plugin/Ploticus.php 2014-11-09 17:36:49 UTC (rev 9292) @@ -31,7 +31,7 @@ * * Note: * - For windows you need either a gd library with GIF support or - * a ploticus with PNG support. This comes e.g. with the cygwin build. + * a Ploticus with PNG support. This comes e.g. with the Cygwin build. * - We support only images supported by GD so far (PNG most likely). * No EPS, PS, SWF, SVG or SVGZ support yet, due to limitations in WikiPluginCached. * This will be fixed soon. @@ -60,6 +60,11 @@ class WikiPlugin_Ploticus extends WikiPluginCached { + public $_args; + public $source; + public $_mapfile; + public $_errortext; + /** * Sets plugin type to MAP if -csmap (-map or -mapdemo or -csmapdemo not supported) * or HTML if the imagetype is not supported by GD (EPS, SVG, SVGZ) (not yet) @@ -259,9 +264,9 @@ $fp = fopen("$tempfile.plo", "w"); fwrite($fp, $source); fclose($fp); - $code = $this->execute(PLOTICUS_EXE . " $tempfile.plo $args", $tempfile . ".$device"); + $this->execute(PLOTICUS_EXE . " $tempfile.plo $args", $tempfile . ".$device"); } else { - $code = $this->filterThroughCmd($source, PLOTICUS_EXE . " -stdin $args"); + $this->filterThroughCmd($source, PLOTICUS_EXE . " -stdin $args"); sleep(1); } if (!file_exists($tempfile . ".$device")) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |