summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2002-07-10 12:23:10 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2002-07-10 12:23:10 +0000
commitffa7af66488478eaa8242242d7a0877f3d09cc1f (patch)
treeea2030fca71055014af1ed3e6a22495fbd6dfc0e
parent3e12f92ac8d271df273bcf1142a94300bfc75716 (diff)
downloadMPC-ffa7af66488478eaa8242242d7a0877f3d09cc1f.tar.gz
ChangeLogTag: Wed Jul 10 07:22:24 2002 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--modules/TemplateParser.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/TemplateParser.pm b/modules/TemplateParser.pm
index f7560f8a..8bdac504 100644
--- a/modules/TemplateParser.pm
+++ b/modules/TemplateParser.pm
@@ -209,6 +209,9 @@ sub relative {
}
$val = "../" x $count;
$val =~ s/\/$//;
+ if ($self->{'prjc'}->convert_slashes()) {
+ $val =~ s/\//\\/g;
+ }
$value =~ s/\$\([^)]+\)/$val/;
}
}