]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug - fix start_morbo on vagrant
authorDylan William Hardison <dylan@hardison.net>
Sat, 2 Feb 2019 17:10:53 +0000 (12:10 -0500)
committerDylan William Hardison <dylan@hardison.net>
Sat, 2 Feb 2019 17:10:53 +0000 (12:10 -0500)
scripts/start_morbo

index ada3255a893892cb88c8302e04639aef372ffc5a..4a0bb3467630f954bb9a418d34932a6503b23f07 100755 (executable)
@@ -34,9 +34,9 @@ if ($MOJO_LISTEN && -f $cert_file && -f $key_file) {
 
 push @PERL5LIB, catdir($BUGZILLA_DIR, qw(local lib perl5));
 unshift @PATH, catdir($BUGZILLA_DIR, qw(local bin));
-$BUGZILLA_ALLOW_INSECURE_HTTP //= 1;
-$MOJO_REVERSE_PROXY           //= $BUGZILLA_DIR ne '/vagrant';
-$LOG4PERL_CONFIG_FILE         //= 'log4perl-morbo.conf';
+$BUGZILLA_ALLOW_INSECURE_HTTP = 1;
+$MOJO_REVERSE_PROXY           = 1 if $BUGZILLA_DIR ne '/vagrant';
+$LOG4PERL_CONFIG_FILE //= 'log4perl-morbo.conf';
 
 my @files
   = ('Bugzilla.pm', 'Bugzilla', glob('*.cgi'), 'extensions', 'template');