summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/CGI.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-08-22 03:07:59 +0000
committerfukachan <fukachan>2001-08-22 03:07:59 +0000
commit3c2ac05aa975bf9df8212e2a9e0dc49299fe4a74 (patch)
tree9708f245bc3296778615cc6e6b01081af8391870 /fml/lib/FML/Process/CGI.pm
parent10f0cdb58372123f5986cd7646e1d23c306199bb (diff)
downloadfml8-3c2ac05aa975bf9df8212e2a9e0dc49299fe4a74.tar.gz
fml8-3c2ac05aa975bf9df8212e2a9e0dc49299fe4a74.tar.bz2
fml8-3c2ac05aa975bf9df8212e2a9e0dc49299fe4a74.zip
modified to use File::Spec
Diffstat (limited to 'fml/lib/FML/Process/CGI.pm')
-rw-r--r--fml/lib/FML/Process/CGI.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/fml/lib/FML/Process/CGI.pm b/fml/lib/FML/Process/CGI.pm
index 6a0044fa..2ccfc9cd 100644
--- a/fml/lib/FML/Process/CGI.pm
+++ b/fml/lib/FML/Process/CGI.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: CGI.pm,v 1.13 2001/05/28 16:17:13 fukachan Exp $
+# $FML: CGI.pm,v 1.14 2001/06/10 11:24:12 fukachan Exp $
#
package FML::Process::CGI;
@@ -59,7 +59,9 @@ sub new
my $ml_name = param('ml_name') || do {
croak("not get ml_name from HTTP") if $args->{ need_ml_name };
};
- my $ml_home_dir = $ml_home_prefix .'/'. $ml_name;
+
+ use File::Spec;
+ my $ml_home_dir = File::Spec->catfile($ml_home_prefix, $ml_name);
# fix $args { cf_list, ml_home_dir };
my $cf = $args->{ cf_list };