From e1567d040f366e8a55567334bdd465338ca4cbf3 Mon Sep 17 00:00:00 2001 From: Shin Date: Wed, 24 Dec 2014 23:37:39 +0100 Subject: [PATCH 1/2] Default template added to configuration --- base.php | 3 --- config_default.php | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base.php b/base.php index cd9d650..d8a507b 100644 --- a/base.php +++ b/base.php @@ -77,9 +77,6 @@ function getCurrentOption ($option) { if ($option == "style") { return "default"; } - if ($option == "template") { - return "default"; - } if (isset($config ["cops_" . $option])) { return $config ["cops_" . $option]; diff --git a/config_default.php b/config_default.php index 02ab113..1c54f02 100644 --- a/config_default.php +++ b/config_default.php @@ -273,3 +273,6 @@ * NULL : Disable PHP password protection (You can still use htpasswd) */ $config['cops_basic_authentication'] = NULL; + + /* Whitch template is used */ + $config['cops_template']= 'default'; From b5caab4185f9612729362d0b2dc9a30755d430ac Mon Sep 17 00:00:00 2001 From: Shin Date: Wed, 24 Dec 2014 23:40:57 +0100 Subject: [PATCH 2/2] typo --- config_default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_default.php b/config_default.php index 1c54f02..f94e89b 100644 --- a/config_default.php +++ b/config_default.php @@ -274,5 +274,5 @@ */ $config['cops_basic_authentication'] = NULL; - /* Whitch template is used */ + /* Which template is used */ $config['cops_template']= 'default';