]> git.ipfire.org Git - 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>
Fri, 17 Jun 2022 10:20:18 +0000 (10:20 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index 01cbf6833853c6f935076361890ad10e215e7c83..8581d63bec5a8d0a4ee433bb771548c186fd492a 100644 (file)
@@ -38,8 +38,9 @@ require "${General::swroot}/countries.pl";
 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);