]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
ovpnmain.cgi: Disable sending any error messages to the browser again
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 May 2022 11:51:11 +0000 (11:51 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 16 May 2022 13:56:23 +0000 (13:56 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index 865697f464c418ccbcf24c07a35d710228853e66..03213cccbb9a8018f1b3029a789e3d59a4db2146 100644 (file)
@@ -38,8 +38,9 @@ require "${General::swroot}/countries.pl";
 require "${General::swroot}/location-functions.pl";
 
 # enable only the following on debugging purpose
 require "${General::swroot}/location-functions.pl";
 
 # enable only the following on debugging purpose
-use warnings;
-use CGI::Carp 'fatalsToBrowser';
+#use warnings;
+#use CGI::Carp 'fatalsToBrowser';
+
 #workaround to suppress a warning when a variable is used only once
 my @dummy = ( ${Header::colourgreen}, ${Header::colourblue} );
 undef (@dummy);
 #workaround to suppress a warning when a variable is used only once
 my @dummy = ( ${Header::colourgreen}, ${Header::colourblue} );
 undef (@dummy);