summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-06-15 10:37:08 +0000
committeralecpl <alec@alec.pl>2008-06-15 10:37:08 +0000
commit67effe9904d62880ab5bdaaf58b97af7113ed97f (patch)
tree1114fea966d75cbfd4a87210fc4c963e93915968 /program/include
parenta7aa8cfca1da79d1160538afea9f4a111d70a989 (diff)
- actually we don't need default_skin option
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_config.php2
-rwxr-xr-xprogram/include/rcube_template.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php
index b862bf769..0ffb0d3fa 100644
--- a/program/include/rcube_config.php
+++ b/program/include/rcube_config.php
@@ -61,7 +61,7 @@ class rcube_config
$this->load_host_config();
// fix paths
- $this->prop['default_skin'] = $this->prop['default_skin'] ? unslashify($this->prop['default_skin']) : 'default';
+ $this->prop['skin'] = $this->prop['skin'] ? unslashify($this->prop['skin']) : 'default';
$this->prop['log_dir'] = $this->prop['log_dir'] ? unslashify($this->prop['log_dir']) : INSTALL_PATH . 'logs';
// handle aliases
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index 9bc918e9a..6cf9a9ad4 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -59,7 +59,7 @@ class rcube_template extends rcube_html_page
// load the correct skin (in case user-defined)
if (empty($this->config['skin']) || !is_readable('skins/'.$this->config['skin']))
- $this->config['skin'] = $this->config['default_skin'];
+ $this->config['skin'] = 'default';
$this->config['skin_path'] = 'skins/'.$this->config['skin'];