From b207b633d597f2f5c958bbdb95a3cf41a0f3879e Mon Sep 17 00:00:00 2001 From: thomasb Date: Fri, 3 Feb 2012 11:12:35 +0000 Subject: Get rid of global $__skin_path variable (#1488336) git-svn-id: https://svn.roundcube.net/trunk@5851 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_template.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'roundcubemail/program/include/rcube_template.php') diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php index 0fbd9dfac..94fa6763c 100644 --- a/roundcubemail/program/include/rcube_template.php +++ b/roundcubemail/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