show basic api doc in webinterface (top-menu - options - API help)

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-02-22 13:41:28 +01:00
parent a468fe50df
commit b42a7b1b26
9 changed files with 171 additions and 10 deletions

View File

@@ -319,3 +319,6 @@ if ($page == 'overview') {
redirectTo($filename, array('s' => $s));
}
}
elseif ($page == 'apihelp' && Settings::Get('api.enabled') == 1) {
require_once __DIR__ . '/apihelp.php';
}