summaryrefslogtreecommitdiff
path: root/modules/TemplateParser.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2008-03-20 12:44:16 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2008-03-20 12:44:16 +0000
commita45571aee1be4b789b460e189aff5fa6c8bafcb2 (patch)
tree6b32109a438002c58db2684e515a0658820aa062 /modules/TemplateParser.pm
parent71d31d41c3611f907751628c01ed0f192cd4f3f9 (diff)
downloadMPC-a45571aee1be4b789b460e189aff5fa6c8bafcb2.tar.gz
ChangeLogTag: Thu Mar 20 12:46:46 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/TemplateParser.pm')
-rw-r--r--modules/TemplateParser.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TemplateParser.pm b/modules/TemplateParser.pm
index 285bcff1..019fff04 100644
--- a/modules/TemplateParser.pm
+++ b/modules/TemplateParser.pm
@@ -1470,7 +1470,7 @@ sub perform_full_path {
if (-e $dir) {
$dir = Cwd::abs_path($dir);
}
- elsif ($dir !~ /^(?:\/|[A-Z]:\/)/i) {
+ elsif ($self->{'prjc'}->path_is_relative($dir)) {
## If the directory is is not already an absolute path, then we will
## assume that the directory is relative to the current directory
## (which will be the location of the MPC file).