]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
ovpnmain.cgi: Enable debugging
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Mar 2024 14:53:46 +0000 (15:53 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Mar 2024 19:17:35 +0000 (20:17 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index c92d0237d2d1372656d0d6a71d9b9ee5bc663c9a..a59e5517f1a8e4afea331382095f87cb44a99d95 100755 (executable)
@@ -41,8 +41,8 @@ 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} );