summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-11-07 00:32:57 +0000
committerthomascube <thomas@roundcube.net>2005-11-07 00:32:57 +0000
commitb595c9fcf6940ae25c1e58ef2b8d340405083906 (patch)
tree35482440626ab52a2517312ffaadede0360fc250 /program/include/main.inc
parente447cb072f025f1b0af9fea091a316e11163119d (diff)
Minor bugfixes
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 5895807a9..adb0b8822 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -573,6 +573,7 @@ function parse_template($name='main', $exit=TRUE)
// replace all strings ($varname) with the content of the according global variable
function parse_with_globals($input)
{
+ $GLOBALS['__comm_path'] = $GLOBALS['COMM_PATH'];
$output = preg_replace('/\$(__[a-z0-9_\-]+)/e', '$GLOBALS["\\1"]', $input);
return $output;
}