Merge pull request #187 from Shin-nn/master

Moving default template to configuration
This commit is contained in:
Sébastien Lucas 2014-12-27 10:10:47 +01:00
commit 0a4491f35c
2 changed files with 3 additions and 3 deletions

View file

@ -77,9 +77,6 @@ function getCurrentOption ($option) {
if ($option == "style") { if ($option == "style") {
return "default"; return "default";
} }
if ($option == "template") {
return "default";
}
if (isset($config ["cops_" . $option])) { if (isset($config ["cops_" . $option])) {
return $config ["cops_" . $option]; return $config ["cops_" . $option];

View file

@ -273,3 +273,6 @@
* NULL : Disable PHP password protection (You can still use htpasswd) * NULL : Disable PHP password protection (You can still use htpasswd)
*/ */
$config['cops_basic_authentication'] = NULL; $config['cops_basic_authentication'] = NULL;
/* Which template is used */
$config['cops_template']= 'default';