diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-09-23 14:56:51 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-09-23 14:56:51 -0700 |
commit | 0bff2e665b3a6389b47510e4c04a5a454f6dd7d4 (patch) | |
tree | e7f3368c067594b98699c5cf62f0991e8ceb2e4f /rt/sbin | |
parent | 806d426d106efea2b2b13314108c4ac046511e1c (diff) |
rt 4.0.7
Diffstat (limited to 'rt/sbin')
-rwxr-xr-x | rt/sbin/standalone_httpd | 2 | ||||
-rw-r--r-- | rt/sbin/standalone_httpd.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rt/sbin/standalone_httpd b/rt/sbin/standalone_httpd index 3386cd1..cef0f31 100755 --- a/rt/sbin/standalone_httpd +++ b/rt/sbin/standalone_httpd @@ -172,7 +172,7 @@ if (caller) { require Plack::Runner; my $is_fastcgi = $0 =~ m/fcgi$/; -my $r = Plack::Runner->new( $0 =~ 'standalone' ? ( server => 'Standalone' ) : +my $r = Plack::Runner->new( $0 =~ /standalone/ ? ( server => 'Standalone' ) : $is_fastcgi ? ( server => 'FCGI' ) : (), env => 'deployment' ); diff --git a/rt/sbin/standalone_httpd.in b/rt/sbin/standalone_httpd.in index 45c3770..f84f6c1 100644 --- a/rt/sbin/standalone_httpd.in +++ b/rt/sbin/standalone_httpd.in @@ -172,7 +172,7 @@ if (caller) { require Plack::Runner; my $is_fastcgi = $0 =~ m/fcgi$/; -my $r = Plack::Runner->new( $0 =~ 'standalone' ? ( server => 'Standalone' ) : +my $r = Plack::Runner->new( $0 =~ /standalone/ ? ( server => 'Standalone' ) : $is_fastcgi ? ( server => 'FCGI' ) : (), env => 'deployment' ); |