summaryrefslogtreecommitdiff
path: root/Xerl/Page/Parameter.pm
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-04-26 18:55:42 +0000
committerPaul Buetow <paul@buetow.org>2011-04-26 18:55:42 +0000
commit67855afa02636e06b142c706487c5eb23efc5e8c (patch)
tree8e357ebd18427cfc86453e0f7996d7fc88c4f96e /Xerl/Page/Parameter.pm
parent411f4c0227f280e1a412b825ad82b189017e6795 (diff)
added initial fcgi support to all the code files
Diffstat (limited to 'Xerl/Page/Parameter.pm')
-rw-r--r--Xerl/Page/Parameter.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/Xerl/Page/Parameter.pm b/Xerl/Page/Parameter.pm
index 2100323..e751de2 100644
--- a/Xerl/Page/Parameter.pm
+++ b/Xerl/Page/Parameter.pm
@@ -46,13 +46,12 @@ sub parse($) {
if ( $config->href_exists() ) {
print "Location: ", $config->get_href(), "\n\n";
- Xerl::Main::Global::SHUTDOWN();
-
+ config->set_shutdown(1);
}
elsif ( $config->env_exists() ) {
print "Content-Type: text/plain\n\n";
print "$_=", $ENV{$_}, "\n" for keys %ENV;
- Xerl::Main::Global::SHUTDOWN();
+ config->set_shutdown(1);
}
if ( $config->devel_exists() ) {
@@ -63,7 +62,7 @@ sub parse($) {
if ( $config->conf_exists() ) {
print "Content-Type: text/plain\n\n";
print "$_=", $config->{$_}, "\n" for keys %$config;
- Xerl::Main::Global::SHUTDOWN();
+ config->set_shutdown(1);
}
return $self;