xref: /plugin/statdisplay/graph.php (revision 1a328e16f5bd870878656eeedfbe2e10fe8b4122)
1a99e747dSAndreas Gohr<?php
2*1a328e16SAndreas Gohr
3c1703818SAndreas Gohr/**
4c1703818SAndreas Gohr * statdisplay plugin graph dispatcher
5c1703818SAndreas Gohr *
6c1703818SAndreas Gohr * @author Andreas Gohr <gohr@cosmocode.de>
7c1703818SAndreas Gohr * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
8c1703818SAndreas Gohr */
9c1703818SAndreas Gohr
10*1a328e16SAndreas Gohrif (!defined('DOKU_INC')) define('DOKU_INC', __DIR__ . '/../../../');
11a99e747dSAndreas Gohrdefine('DOKU_DISABLE_GZIP_OUTPUT', 1);
12a99e747dSAndreas Gohrrequire_once(DOKU_INC . 'inc/init.php');
13a99e747dSAndreas Gohr
14bf1a58f3SAndreas Gohr/** @var helper_plugin_statdisplay_graph $graph */
15a99e747dSAndreas Gohr$graph = plugin_load('helper', 'statdisplay_graph');
16105e8a99SAndreas Gohr$graph->sendgraph(
17176471b2SAndreas Gohr    $_REQUEST['graph'],
18c6996533SAnna Dabrowska    $_REQUEST['f'] ?? '',
19c6996533SAnna Dabrowska    $_REQUEST['t'] ?? ''
20105e8a99SAndreas Gohr);
21