From fc7b5b8283173ebb5209da124e5b283e5b86dfa7 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 3 Feb 2012 11:12:35 +0000 Subject: Get rid of global $__skin_path variable (#1488336) --- program/include/rcube_template.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'program/include/rcube_template.php') diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index 0fbd9dfac..94fa6763c 100644 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -166,6 +166,14 @@ class rcube_template extends rcube_html_page return $valid; } + /** + * Getter for the current skin path property + */ + public function get_skin_path() + { + return $this->config['skin_path']; + } + /** * Check if a specific template exists * -- cgit v1.2.3