]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Add edge in browsers
authorLaurent Destailleur <eldy@destailleur.fr>
Fri, 8 Jan 2016 19:04:20 +0000 (20:04 +0100)
committerLaurent Destailleur <eldy@destailleur.fr>
Fri, 8 Jan 2016 19:04:20 +0000 (20:04 +0100)
wwwroot/cgi-bin/lib/browsers.pm
wwwroot/cgi-bin/plugins/graphgooglechartapi.pm

index dd50e9ef6c1b021e8078574704e8e29038a7f58a..4d0dda890877e0f98ed30f5376a14122a6772163 100644 (file)
@@ -44,6 +44,7 @@
 @BrowsersSearchIDOrder = (
 # Most frequent standard web browsers are first in this list except the ones hardcoded in awstats.pl:
 # firefox, opera, chrome, safari, konqueror, svn, msie, netscape
+'edge',
 'elinks',
 'firebird',
 'go!zilla',
 'msie','MS Internet Explorer',
 'netscape','Netscape',
 
+'edge','Edge',
 'elinks','ELinks',
 'firebird','Firebird (Old Firefox)',
 'go!zilla','Go!Zilla',
 'msie','msie',
 'netscape','netscape',
 
+'edge','msie',
 'firebird','phoenix',
 'go!zilla','gozilla',
 'icab','icab',
 
 # Browsers examples by engines
 #
+# -- Edge --
+# Mozilla/5.0 (Windows NT 10.0; <64-bit tags>) AppleWebKit/<WebKit Rev> (KHTML, like Gecko) Chrome/<Chrome Rev> Safari/<WebKit Rev> Edge/<EdgeHTML Rev>.<Windows Build>
+#
 # -- Mosaic --
 # MSIE         4.0     Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt; KITV4 Wanadoo; KITV5 Wanadoo)
 #
index fd82f0b1769c7857345c6beaa3137e050912eddb..c8b3dd68de67d120b5e06c5ced7ac3ec84644765 100644 (file)
@@ -100,7 +100,7 @@ sub ShowGraph_graphgooglechartapi() {
        if ($imagewidth < 1){$imagewidth=640;}
 
        if ($type eq 'month') {
-               $labellength=3;
+               $labellength=4;
                print Get_Img_Tag(Graph_Monthly(), $title);
        }
        elsif ($type eq 'daysofmonth') {