From 1ffab0ad4aa23c45e71e26b62a86887e31061079 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 30 Oct 2014 12:34:16 +0100 Subject: Fix possible issues in skin/skin_path config handling (#1490125) --- program/include/rcmail_output_html.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program/include') 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; -- cgit v1.2.3