splitbrain / dokuwiki-plugin-graphviz

Create Graphviz graphs from within DokuWiki
http://www.dokuwiki.org/plugin:graphviz
12 stars 15 forks source link

Call to undefined function plugin_load() #3

Closed tim4dev closed 13 years ago

tim4dev commented 13 years ago

PHP Fatal error: Call to undefined function plugin_load() in plugins/graphviz/img.php on line 13

tim4dev commented 13 years ago

diff -u img.php.original img.php

--- img.php.original 2011-02-05 02:39:54.000000000 +0200

+++ img.php 2011-02-16 16:31:17.000000000 +0200

@@ -8,6 +8,14 @@

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;

$plugin = plugin_load('syntax','graphviz');

splitbrain commented 13 years ago

upgrade to anteater