thomascube
2009-06-09 533e8602c0be3aed7becc74002c58a7d1cf400c3
program/include/rcube_template.php
@@ -435,6 +435,7 @@
     */
    private function parse_with_globals($input)
    {
        $GLOBALS['__version'] = Q(RCMAIL_VERSION);
        $GLOBALS['__comm_path'] = Q($this->app->comm_path);
        return preg_replace('/\$(__[a-z0-9_\-]+)/e', '$GLOBALS["\\1"]', $input);
    }