Merge pull request #187 from Shin-nn/master
Moving default template to configuration
This commit is contained in:
commit
0a4491f35c
3
base.php
3
base.php
|
@ -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];
|
||||||
|
|
|
@ -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';
|
||||||
|
|
Loading…
Reference in a new issue