summaryrefslogtreecommitdiff
path: root/program/include/rcube_template.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-02-03 11:12:35 +0000
committerthomascube <thomas@roundcube.net>2012-02-03 11:12:35 +0000
commitfc7b5b8283173ebb5209da124e5b283e5b86dfa7 (patch)
tree644a09bf21831f5a7079dfef7d5d3a68dd0dd95a /program/include/rcube_template.php
parent43875379d5fcfc4e4d29e2edcbbed614a2050f7d (diff)
Get rid of global $__skin_path variable (#1488336)
Diffstat (limited to 'program/include/rcube_template.php')
-rw-r--r--program/include/rcube_template.php8
1 files changed, 8 insertions, 0 deletions
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
@@ -167,6 +167,14 @@ class rcube_template extends rcube_html_page
}
/**
+ * 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