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';