mirror of
https://github.com/webmin/webmin.git
synced 2026-08-06 16:00:40 +01:00
Needed to show error messages properly in non-SSL mode
This commit is contained in:
@@ -2478,7 +2478,7 @@ if (&get_type($full) eq "internal/cgi" && $validated != 4) {
|
||||
if ($@) {
|
||||
# Error in perl!
|
||||
&http_error(500, "Perl execution failed",
|
||||
$config{'noshowstderr'} ? undef : $@);
|
||||
$config{'noshowstderr'} ? undef : "$@");
|
||||
}
|
||||
elsif (!$doneheaders && !$nph_script) {
|
||||
&http_error(500, "Missing Headers");
|
||||
|
||||
Reference in New Issue
Block a user