summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-09-13 06:14:38 +0000
committerfukachan <fukachan>2003-09-13 06:14:38 +0000
commitf2c20a344dff299991d3492968c2b5f72acf7841 (patch)
tree59668c30cdd2af456db2ea8a478291fd2dbc5656
parent815ef433f7656612fb0bcc8c8212cc52207146a3 (diff)
downloadfml8-f2c20a344dff299991d3492968c2b5f72acf7841.tar.gz
fml8-f2c20a344dff299991d3492968c2b5f72acf7841.tar.bz2
fml8-f2c20a344dff299991d3492968c2b5f72acf7841.zip
fix $0 handling for *.cgi:
program_fullname => $ENV{ 'SCRIPT_FILENAME' } || $0
-rw-r--r--fml/lib/FML/Process/Switch.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/FML/Process/Switch.pm b/fml/lib/FML/Process/Switch.pm
index 994bf3ce..332aca00 100644
--- a/fml/lib/FML/Process/Switch.pm
+++ b/fml/lib/FML/Process/Switch.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: Switch.pm,v 1.92 2003/08/23 04:35:40 fukachan Exp $
+# $FML: Switch.pm,v 1.93 2003/09/13 05:03:12 fukachan Exp $
#
package FML::Process::Switch;
@@ -156,7 +156,7 @@ sub main::Bootstrap2
myname => $myname,
program_name => $myname,
- program_fullname => $0,
+ program_fullname => $ENV{ 'SCRIPT_FILENAME' } || $0,
# XXX CAN WE MOVE PARSER TO Process::{Kernel,CGI::Kernel} ?
# XXX ml_name, ml_domain, ml_home_prefix, ml_home_dir