summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_template.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-02-03 11:12:35 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-02-03 11:12:35 +0000
commitb207b633d597f2f5c958bbdb95a3cf41a0f3879e (patch)
treed3589137ec86c4abd14ddaea041888722ff1b3c3 /roundcubemail/program/include/rcube_template.php
parent4f19c51b60bfb40122ff577883c613741572b5d5 (diff)
Get rid of global $__skin_path variable (#1488336)
git-svn-id: https://svn.roundcube.net/trunk@5851 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_template.php')
-rw-r--r--roundcubemail/program/include/rcube_template.php8
1 files changed, 8 insertions, 0 deletions
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
@@ -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