splitbrain / dokuwiki-plugin-ditaa

Renders ASCII flowcharts contained in a DokuWiki page to images
http://www.dokuwiki.org/plugin:ditaa
5 stars 5 forks source link

plugin failed with Rincewind => patch #8

Open ALUCAZEAU opened 13 years ago

ALUCAZEAU commented 13 years ago

Hi,

Actually this plugin failed with the latest version of dokuwiki.

With this modification, it's ok :

server:/home/alexandre/ditaa/splitbrain-dokuwiki-plugin-ditaa-ae028f8# diff -u img.php img.php-new --- img.php 2011-02-05 01:39:34.000000000 +0100 +++ img.php-new 2011-08-17 15:44:59.000000000 +0200 @@ -7,6 +7,15 @@ if(!defined('DOKU_INC')) define('DOKU_INC',dirname(FILE).'/../../../'); define('NOSESSION',true); require_once(DOKU_INC.'inc/init.php'); +require_once(DOKU_INC.'inc/pluginutils.php'); + +require_once(DOKU_INC.'inc/pageutils.php'); + +require_once(DOKU_INC.'inc/io.php'); + +require_once(DOKU_INC.'inc/media.php'); + +require_once(DOKU_INC.'inc/httputils.php');

// let the syntax plugin do the work $data = $_REQUEST;