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 @@ -528,6 +536,7 @@ { $GLOBALS['__version'] = Q(RCMAIL_VERSION); $GLOBALS['__comm_path'] = Q($this->app->comm_path); $GLOBALS['__skin_path'] = Q($this->config['skin_path']); return preg_replace_callback('/\$(__[a-z0-9_\-]+)/', array($this, 'globals_callback'), $input); }