From be52977602e3a20243ae2fa1b7ddc048a5211847 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 10 Mar 2024 00:06:30 +0100 Subject: [PATCH] Use https to website link --- wwwroot/cgi-bin/awstats.model.conf | 2 +- wwwroot/cgi-bin/awstats.pl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wwwroot/cgi-bin/awstats.model.conf b/wwwroot/cgi-bin/awstats.model.conf index 5daacc33..12f066af 100644 --- a/wwwroot/cgi-bin/awstats.model.conf +++ b/wwwroot/cgi-bin/awstats.model.conf @@ -1263,7 +1263,7 @@ MetaRobot=0 # Default: "awstats_logo6.png" # Logo="awstats_logo6.png" -LogoLink="http://www.awstats.org" +LogoLink="https://www.awstats.org" # Value of maximum bar width/height for horizontal/vertical HTML graphics bars. diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index b984ada6..ebd5fb18 100755 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -2902,7 +2902,7 @@ sub Check_Config { } if ( $ShowLinksToWhoIs !~ /[01]/ ) { $ShowLinksToWhoIs = 0; } $Logo ||= 'awstats_logo6.png'; - $LogoLink ||= 'http://www.awstats.org'; + $LogoLink ||= 'https://www.awstats.org'; if ( $BarWidth !~ /^\d+/ || $BarWidth < 1 ) { $BarWidth = 260; } if ( $BarHeight !~ /^\d+/ || $BarHeight < 1 ) { $BarHeight = 90; } $color_Background =~ s/#//g; @@ -10153,7 +10153,7 @@ sub HTMLTopBanner{ # Logo and flags if ( $FrameName ne 'mainleft' ) { - if ( $LogoLink =~ "http://www.awstats.org" ) { + if ( $LogoLink =~ "https://www.awstats.org" ) { print "