]> git.uio.no Git - usit-rt.git/blobdiff - sbin/rt-server.fcgi
Upgrade to 4.0.8 with modification of ExternalAuth.
[usit-rt.git] / sbin / rt-server.fcgi
index 7dc100dbf852aaf1a3bc25b81fcaa153e0477cdf..bd2e4638224ae8e928bdd8a22f114e3908f4922d 100755 (executable)
@@ -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' );