]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
- #881 Avoid warning mixed http/https with module graphgooglechartapi.
authorLaurent Destailleur <eldy@destailleur.fr>
Thu, 2 Jan 2014 01:13:53 +0000 (02:13 +0100)
committerLaurent Destailleur <eldy@destailleur.fr>
Thu, 2 Jan 2014 01:13:53 +0000 (02:13 +0100)
docs/awstats_changelog.txt
wwwroot/cgi-bin/plugins/graphgooglechartapi.pm

index 0fb0ff6930e68168e2147695f2369e8484827659..5a4ad8b64d17f4e7addeadbbe1d85b972c7ab46c 100644 (file)
@@ -18,7 +18,8 @@ Fixes:
 - Restore detection of Opera browsers versions.
 - #838 GeoIP Cities page doesnt work.
 - Add missing icons.
-
+- #881 Avoid warning mixed http/https with module graphgooglechartapi.
 Other:
 - Move version system to sourceforge Git instead of CVS.
 
index 01f21e9df95da2abda8a2763555abc963c0eddcd..cc3f8e23e38befc927b4fbb55d177ae8cdf05e38 100644 (file)
@@ -29,7 +29,7 @@ no strict "refs";
 my $PluginNeedAWStatsVersion = "7.0";
 my $PluginHooksFunctions = "Init ShowGraph AddHTMLHeader";
 my $PluginName = "graphgooglechartapi";
-my $ChartProtocol = "http://";
+my $ChartProtocol = "https://";
 my $ChartURI = "chart.apis.google.com/chart?"; # Don't put the HTTP part here!
 my $ChartIndex = 0;
 my $title;
@@ -169,7 +169,7 @@ sub ShowGraph_graphgooglechartapi() {
 # Return:              0 OK, 1 Error
 #-------------------------------------------------------
 sub AddHTMLHeader_graphgooglechartapi(){
-       print "<script type='text/javascript' src='http://www.google.com/jsapi'></script>\n";
+       print "<script type='text/javascript' src='https://www.google.com/jsapi'></script>\n";
 }
 
 #-------------------------------------------------------