1<?php
2/**
3 * statdisplay plugin graph dispatcher
4 *
5 * @author Andreas Gohr <gohr@cosmocode.de>
6 * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
7 */
8
9if (!defined('DOKU_INC')) define('DOKU_INC', dirname(__FILE__) . '/../../../');
10define('DOKU_DISABLE_GZIP_OUTPUT', 1);
11require_once(DOKU_INC . 'inc/init.php');
12
13/** @var helper_plugin_statdisplay_graph $graph */
14$graph = plugin_load('helper', 'statdisplay_graph');
15$graph->sendgraph(
16    $_REQUEST['graph'],
17    $_REQUEST['f'] ?? '',
18    $_REQUEST['t'] ?? ''
19);
20