From fc7b5b8283173ebb5209da124e5b283e5b86dfa7 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 03 Feb 2012 06:12:35 -0500 Subject: [PATCH] Get rid of global $__skin_path variable (#1488336) --- program/include/rcube_template.php | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index 0fbd9df..94fa676 100644 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -167,6 +167,14 @@ } /** + * Getter for the current skin path property + */ + public function get_skin_path() + { + return $this->config['skin_path']; + } + + /** * Check if a specific template exists * * @param string Template name -- Gitblit v1.9.1