-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,15 +45,25 @@ sub feature_hlink | |
# Checks if Nginx is actually installed, returns an error if not | ||
sub feature_check | ||
{ | ||
# Is nginx installed? | ||
if (!-r $config{'nginx_config'}) { | ||
return &text('feat_econfig', "<tt>$config{'nginx_config'}</tt>"); | ||
} | ||
elsif (!&has_command($config{'nginx_cmd'})) { | ||
return &text('feat_ecmd', "<tt>$config{'nginx_cmd'}</tt>"); | ||
} | ||
|
||
# Show fcgiwrap status | ||
if (&feature_web_supports_cgi()) { | ||
&$virtual_server::second_print( | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
iliajie
Contributor
|
||
$virtual_server::text{'check_fcgiwrapok'}); | ||
} | ||
else { | ||
return undef; | ||
&$virtual_server::second_print( | ||
$virtual_server::text{'check_nocgiscript'}); | ||
} | ||
|
||
return undef; | ||
} | ||
|
||
# feature_depends(&domain) | ||
|
Hello, Jamie!
This doesn't seem to be working well with System Settings ⇾ Features and Plugins page and when the page is saved, it "crashes" with an error
[01/Nov/2023:14:19:59 +0300] [10.211.55.2] /virtual-server/save_newfeatures.cgi : Bad Header
, e.g.: