Add configuration.
This commit is contained in:
parent
761500c1b2
commit
adad121b01
3 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue