Andreone / dokuwiki_plantuml

A plugin for Dokuwiki that generates UML graphs from text using PlantUML
http://www.dokuwiki.org/plugin:plantuml
13 stars 20 forks source link

support the farm mode #21

Closed atisne closed 4 months ago

atisne commented 8 years ago

In a farm installation, the rendering fails because the input file is not found -"no such plantuml input file xxx". Indeed, the variable animal is added in $_REQUEST in a farm mode compared to the classic mode. So, the cache file is not build with the same values in the function handle (that builds the data array) and in the function _imgfile (where the variable animal is added to the others data).

I suggest to add the line: unset($data['animal']); in the function _cachename (function lib/plugins/plantuml/syntax.php)

atisne commented 4 months ago

Seems to be managed in the farmer plugin itself.