Commit a55b471e authored by Till Brehm's avatar Till Brehm

Merge branch 'awstats_default_3549' into 'stable-3.1'

Make AWstats default

Webalizer is pretty old and the latest release dates back to 2013.  
The generated statistics are even not really accurate, as mentioned here:  https://en.wikipedia.org/wiki/Webalizer#Criticism  

In conclusion I would appreciate it if the default value could be changed to AWstats.  
This merge request does address #3549

See merge request !577
parents 89ba89ae 109e73e2
ALTER TABLE `web_domain` CHANGE `folder_directive_snippets` `folder_directive_snippets` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL;
ALTER TABLE `web_domain` ADD `log_retention` INT NOT NULL DEFAULT '30' AFTER `https_port`;
ALTER TABLE `web_domain` CHANGE `stats_type` `stats_type` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'awstats';
......@@ -1955,7 +1955,7 @@ CREATE TABLE `web_domain` (
`ssl_key` mediumtext NULL,
`ssl_action` varchar(16) NULL,
`stats_password` varchar(255) default NULL,
`stats_type` varchar(255) default 'webalizer',
`stats_type` varchar(255) default 'awstats',
`allow_override` varchar(255) NOT NULL default 'All',
`apache_directives` mediumtext,
`nginx_directives` mediumtext,
......
......@@ -609,7 +609,7 @@ $form["tabs"]['stats'] = array (
'stats_type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'SELECT',
'default' => 'webalizer',
'default' => 'awstats',
'value' => array('webalizer' => 'Webalizer', 'awstats' => 'AWStats', '' => 'None')
),
//#################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment