Skip to content

Commit

Permalink
Fix variable clash
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Dec 26, 2023
1 parent 73a0646 commit 002e0a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,9 @@ sub feature_setup
# Setup the selected PHP mode
&virtual_server::save_domain_php_mode($d, $mode);

# Enable selected CGI mode
if (&feature_web_supports_cgi()) {
# Enable selected CGI mode from template
my $cgimode = $tmpl->{'web_cgimode'};
if ($cgimode eq 'fcgiwrap' && &feature_web_supports_cgi()) {
&feature_web_save_domain_cgi_mode($d, 'fcgiwrap');
}

Expand Down

0 comments on commit 002e0a2

Please sign in to comment.