Commit 5ff12b66 authored by Matthieu Le Corre's avatar Matthieu Le Corre
Browse files
parent 9db81b35
......@@ -33,13 +33,19 @@ class ConfigController extends Controller {
$this->config = $config;
}
/**
* @NoAdminRequired
* @PublicPage
*/
public function getConfig() {
$params = [
"show_asciidoc" => $this->config->getAppValue("show_asciidoc"),
"show_html" => $this->config->getAppValue("show_html") ,
"yellow_back" => $this->config->getAppValue("yellow_back") ,
"show_title" => $this->config->getAppValue("show_title") ,
"auto_refresh" => $this->config->getAppValue("auto_refresh") ,
"auto_refresh" => $this->config->getAppValue("auto_refresh") ,
"fileslist_header" => $this->config->getAppValue('fileslist_header'),
"fileslist_footer" => $this->config->getAppValue('fileslist_footer')
];
return $params ;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment