Add configuration.

This commit is contained in:
Dominik Pantůček 2023-06-24 22:57:17 +02:00
parent 761500c1b2
commit adad121b01
3 changed files with 3 additions and 1 deletions

View file

@ -29,7 +29,7 @@ class syntax_plugin_brmburo extends DokuWiki_Syntax_Plugin {
public function render($mode, Doku_Renderer $renderer, $data) {
// $data is what the function handle return'ed.
if($mode == 'xhtml'){
$spaceapi_status_json = '/home/brmdoor-web/spaceapi-status/brmstatus.json';
$spaceapi_status_json = $this->getConf("spaceapijson");
$str = file_get_contents($spaceapi_status_json);
/** @var Doku_Renderer_xhtml $renderer */
$status = "UNKNOWN";