[1/2] wireguard.cgi: disable debbugging modules

Message ID 20251013104852.25336-1-adolf.belka@ipfire.org
State Staged
Commit c251b8e6c8fa6daac777d51cda17889d1e433c29
Headers
Series [1/2] wireguard.cgi: disable debbugging modules |

Commit Message

Adolf Belka 13 Oct 2025, 10:48 a.m. UTC
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 html/cgi-bin/wireguard.cgi | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
  

Patch

diff --git a/html/cgi-bin/wireguard.cgi b/html/cgi-bin/wireguard.cgi
index b9661948c..bcb27cf27 100644
--- a/html/cgi-bin/wireguard.cgi
+++ b/html/cgi-bin/wireguard.cgi
@@ -2,7 +2,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2024 Michael Tremer <michael.tremer@ipfire.org>               #
+# Copyright (C) 2024-2025 Michael Tremer <michael.tremer@ipfire.org>          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -21,9 +21,10 @@ 
 
 use strict;
 
-# enable only the following on debugging purpose
-use warnings;
-use CGI::Carp 'fatalsToBrowser';
+# only enable the following for debugging purposes
+#use warnings;
+#use CGI::Carp 'fatalsToBrowser';
+
 use Imager::QRCode;
 use MIME::Base64;