summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-10-30 12:34:16 +0100
committerAleksander Machniak <alec@alec.pl>2014-10-30 12:34:16 +0100
commit1ffab0ad4aa23c45e71e26b62a86887e31061079 (patch)
tree04e48d2553c9458f9e26651475649315ee9d0f38 /program/include
parent968601f1f5e7366ddc8aa72d00d2f727d9eab572 (diff)
Fix possible issues in skin/skin_path config handling (#1490125)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcmail_output_html.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php
index 0f2a0a6d5..3d2f51ba1 100644
--- a/program/include/rcmail_output_html.php
+++ b/program/include/rcmail_output_html.php
@@ -187,6 +187,8 @@ EOF;
$valid = !$skin;
}
+ $skin_path = rtrim($skin_path, '/');
+
$this->config->set('skin_path', $skin_path);
$this->base_path = $skin_path;