mirror of
https://github.com/cosmocode/dokuwiki-plugin-statdisplay.git
synced 2025-07-25 16:12:09 +00:00
20 lines
521 B
PHP
20 lines
521 B
PHP
<?php
|
|
/**
|
|
* statdisplay plugin graph dispatcher
|
|
*
|
|
* @author Andreas Gohr <gohr@cosmocode.de>
|
|
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
|
*/
|
|
|
|
if (!defined('DOKU_INC')) define('DOKU_INC', dirname(__FILE__) . '/../../../');
|
|
define('DOKU_DISABLE_GZIP_OUTPUT', 1);
|
|
require_once(DOKU_INC . 'inc/init.php');
|
|
|
|
/** @var helper_plugin_statdisplay_graph $graph */
|
|
$graph = plugin_load('helper', 'statdisplay_graph');
|
|
$graph->sendgraph(
|
|
$_REQUEST['graph'],
|
|
$_REQUEST['f'] ?? '',
|
|
$_REQUEST['t'] ?? ''
|
|
);
|