"Fossies" - the Fresh Open Source Software Archive

Member "betterawstats/config.php" (18 Mar 2008, 30920 Bytes) of package /linux/www/old/betterawstats-1.0.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "config.php" see the Fossies "Dox" file reference documentation.

    1 <?php
    2 /**
    3  * betterawstats - an alternative display for awstats data
    4  *
    5  * @author      Oliver Spiesshofer, support at betterawstats dot com
    6  * @copyright   2008 Oliver Spiesshofer
    7  * @version     1.0
    8  * @link        http://betterawstats.com
    9  *
   10  * Based on the GPL AWStats Totals script by:
   11  * Jeroen de Jong <jeroen@telartis.nl>
   12  * copyright   2004-2006 Telartis
   13  * version 1.13 (http://www.telartis.nl/xcms/awstats)
   14  *
   15  * This program is free software; you can redistribute it and/or
   16  * modify it under the terms of the GNU General Public License
   17  * as published by the Free Software Foundation; either version 2
   18  * of the License, or (at your option) any later version.
   19  *
   20  * This program is distributed in the hope that it will be useful,
   21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   23  * GNU General Public License for more details.
   24  *
   25  * You should have received a copy of the GNU General Public License
   26  * along with this program; if not, write to the Free Software
   27  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
   28  */
   29 
   30 // this file can't be used on its own - do not change these 3 lines
   31 if (strpos ($_SERVER['PHP_SELF'], 'config.php') !== false) {
   32     die ('This file can not be used on its own!');
   33 }
   34 // ATTENTION: BetterAWstats has an online config editor that you can use
   35 // instead of editing this file here. The link is on the bottom of the menu!
   36 // To use it, set $BAW_CONF['online_config']= true; and make sure that the
   37 // file is writable by the server, AND protectthe BetterAWStats installation
   38 // by a .htaccess file!
   39 
   40 //*********************************************************/
   41 //*          SITE SETTINGS
   42 //*********************************************************/
   43 
   44 // NAME:    Script URL
   45 // INFO:    The url of BetterAWstats' directory, No trailing slash
   46 // DEFAULT: 'http://awstats.local'
   47 $BAW_CONF['site_url'] = 'http://awstats.local';
   48 
   49 // NAME:    Script path
   50 // INFO:    The path of BetterAWstats, No trailing slash
   51 // DEFAULT: '/path/to/betterawstats/'
   52 $BAW_CONF['site_path'] = '/path/to/betterawstats';
   53 
   54 // NAME:    Path to AWStats Data
   55 // INFO:    Set this value to the directory where AWStats saves its database
   56 //          files into. ATTENTION: If you read those files on windows but have
   57 //          them created on linux or the other way round, make sure you transfer
   58 //          them 'BINARY'. Otherwise they cannot be read properly. No trailing
   59 //          slash
   60 // DEFAULT: '/path/to/betterawstats/awstats/data'
   61 $BAW_CONF['path_data'] = '/path/to/betterawstats/awstats/data';
   62 
   63 // NAME:    Path to AWStats Libraries
   64 // INFO:    Set this value to the directory where AWStats saves its library
   65 //          files into. No trailing slash
   66 // DEFAULT: '/path/to/betterawstats/awstats/lib'
   67 $BAW_CONF['path_lib'] = '/path/to/betterawstats/awstats/lib';
   68 
   69 // NAME:    Path to AWStats Language files
   70 // INFO:    Set this value to the directory where AWStats saves its language
   71 //          files into. No trailing slash
   72 // DEFAULT: '/path/to/betterawstats/awstats/lang'
   73 $BAW_CONF['path_lang'] = '/path/to/betterawstats/awstats/lang';
   74 
   75 // NAME:    URL to AWStats Icons
   76 // INFO:    The url to the awstats icons, should include the whole http://...,
   77 //          no trailing slash.
   78 // DEFAULT: 'http://awstats.local/awstats/icon'
   79 $BAW_CONF['icons_url'] = 'http://awstats.local/awstats/icon';
   80 
   81 // NAME:    Web Configuration
   82 // INFO:    Enable the online configuration editor? WARNING: Your config.php has
   83 //          to be writable in order to enable this. This is a BAD idea to use
   84 //          unless the folder is password-protected with a .htaccess file or
   85 //          similar.
   86 // DEFAULT: true
   87 // POSSIBLE VALUES: true, false
   88 $BAW_CONF['online_config'] = false;
   89 
   90 // NAME:    Change configuration password?
   91 // INFO:    This password is needed to access the online configuration. It has
   92 //          to be longer than 5 letters.
   93 // DEFAULT: ''
   94 $BAW_CONF['online_config_password'] = '';
   95 
   96 // NAME:    Limit to server?
   97 // INFO:    Set this to a simgle server that you want to limit or "false" to
   98 //          show all. The server name should be the one used for awstats.
   99 // DEFAULT: 'show_all'
  100 // POSSIBLE VALUES: 'sitename.org', 'show_all'
  101 $BAW_CONF['limit_server'] = 'show_all';
  102 
  103 
  104 
  105 //*********************************************************/
  106 //*          LAYOUT SETTINGS
  107 //*********************************************************/
  108 
  109 // NAME:    Layout Type
  110 // INFO:    Display page in vertical or horizontal layout?
  111 // DEFAULT: 'vertical'
  112 // POSSIBLE VALUES: 'vertical', 'horizontal'
  113 $BAW_CONF['layout_type'] = 'vertical';
  114 
  115 // NAME:    Language
  116 // INFO:    Set your language. Set to "auto" to autodetect from browser
  117 // DEFAULT: 'auto'
  118 // POSSIBLE VALUES: 'auto', 'al', 'ba', 'bg', 'ca', 'tw', 'cn', 'cz', 'dk', 'nl',
  119 //                  'en', 'et', 'eu', 'fi', 'fr', 'gl', 'de', 'gr', 'he', 'hu',
  120 //                  'is', 'id', 'it', 'jp', 'kr', 'lv', 'nn', 'nb', 'pl', 'pt',
  121 //                  'br', 'ro', 'ru', 'sr', 'sk', 'es', 'se', 'tr', 'ua', 'wlk'
  122 $BAW_CONF['lang_setting'] = 'auto';
  123 
  124 // NAME:    Decimal Point
  125 // INFO:    Decimal Point Character (99.9)
  126 // DEFAULT: '.'
  127 $BAW_CONF['dec_point'] = '.';
  128 
  129 // NAME:    Thousands separator
  130 // INFO:    Thousand Digit separator (1'000)
  131 // DEFAULT: "'"
  132 $BAW_CONF['tho_point'] = "'";
  133 
  134 // NAME:    Date format (2007-31-12)
  135 // INFO:    How should a date look like? For formatting, please consult
  136 //          http://php.net/manual/en/function.date.php
  137 // DEFAULT: 'Y-M-d'
  138 $BAW_CONF['date_format'] = 'Y-M-d';
  139 
  140 // NAME:    Date & Time format (2007-31-12 23:59)
  141 // INFO:    How should a date & time look like? For formatting,please consult
  142 //          http://php.net/manual/en/function.date.php
  143 // DEFAULT: 'Y-M-d H:i'
  144 $BAW_CONF['date_time_format'] = 'Y-M-d - H:i';
  145 
  146 // NAME:    Percentage decimals
  147 // INFO:    How many decimals for percentage value? (99.9%)
  148 // DEFAULT: '1'
  149 $BAW_CONF['percent_decimals'] = '1';
  150 
  151 // NAME:    Hide Empty data
  152 // INFO:    Completely hide graphs with zero entries? (The menu will also be
  153 //          hidden)
  154 // DEFAULT: true
  155 // POSSIBLE VALUES: true, false
  156 $BAW_CONF['hideempty'] = true;
  157 
  158 // NAME:    Submit dropdowns on change
  159 // INFO:    If enabled, the site/date dropdowns do not have an "OK"-button. The
  160 //          page is refreshed as soon as you choose a new value. Not recommended
  161 //          for large sites.
  162 // DEFAULT: true
  163 // POSSIBLE VALUES: true, false
  164 $BAW_CONF['auto_submit_form'] = true;
  165 
  166 
  167 
  168 //*********************************************************/
  169 //*          TABLE SETTINGS
  170 //*********************************************************/
  171 
  172 // NAME:    First day of the week
  173 // INFO:    Should Sunday be the first day of the week or monday?
  174 // DEFAULT: '1'
  175 // POSSIBLE VALUES: '1', '2'
  176 $BAW_CONF['firstdayofweek'] = '1';
  177 
  178 // NAME:    Field Length
  179 // INFO:    What is the max. text length of table fields? (Applies only to
  180 //          links)
  181 // DEFAULT: '65'
  182 $BAW_CONF['field_length'] = '50';
  183 
  184 // NAME:    Max. Table Lines
  185 // INFO:    What is the max. no. of lines a table can have? Set to "false" to
  186 //          disable. If a table reaches this number of lines, The rest is
  187 //          summarized into one line. This also applies to the "full list" view
  188 //          of a table
  189 // DEFAULT: '10000'
  190 $BAW_CONF['maxlines'] = '10000';
  191 
  192 
  193 
  194 //*********************************************************/
  195 //*          CHART SETTINGS
  196 //*********************************************************/
  197 
  198 // NAME:    Max scale for Visitors
  199 // INFO:    The maximum value of the chosen option will define the maximum
  200 //          height of the Visitors bars in the chart
  201 // DEFAULT: 'layout_visits'
  202 // POSSIBLE VALUES: 'layout_visitos', 'layout_visits', 'layout_pages',
  203 //                  'layout_hits', 'layout_bytes'
  204 $BAW_CONF['max_visitors'] = 'layout_visits';
  205 
  206 // NAME:    Max scale for Visits
  207 // INFO:    The maximum value of the chosen option will define the maximum
  208 //          height of the Visits bars in the chart
  209 // DEFAULT: 'layout_visits'
  210 // POSSIBLE VALUES: 'layout_visits', 'layout_pages', 'layout_hits', 'layout_bytes'
  211 $BAW_CONF['max_visits'] = 'layout_visits';
  212 
  213 // NAME:    Max scale for Pages
  214 // INFO:    The maximum value of the chosen option will define the maximum
  215 //          height of the Pages bars in the chart
  216 // DEFAULT: 'layout_pages'
  217 // POSSIBLE VALUES: 'layout_pages', 'layout_hits', 'layout_bytes'
  218 $BAW_CONF['max_pages'] = 'layout_pages';
  219 
  220 // NAME:    Max scale for Hits
  221 // INFO:    The maximum value of the chosen option will define the maximum
  222 //          height of the Hits bars in the chart
  223 // DEFAULT: 'layout_hits'
  224 // POSSIBLE VALUES: 'layout_hits', 'layout_bytes'
  225 $BAW_CONF['max_hits'] = 'layout_hits';
  226 
  227 // NAME:    Max no of chart rows
  228 // INFO:    When displaying the charts with the full lists, How many items can
  229 //          there be displayed? The rest will sum up into "Others". This is done
  230 //          to prevent too wide charts
  231 // DEFAULT: '50'
  232 $BAW_CONF['max_chart_items'] = '30';
  233 
  234 // NAME:    Chart Titles?
  235 // INFO:    If enabled, it will show a title on top of each chart.
  236 // DEFAULT: true
  237 // POSSIBLE VALUES: true, false
  238 $BAW_CONF['chart_titles'] = false;
  239 
  240 
  241 
  242 //*********************************************************/
  243 //*          JPGRAPH SETTINGS
  244 //*********************************************************/
  245 
  246 // NAME:    Enable JPgraph?
  247 // INFO:    To use JPGraph, you have to download it from
  248 //          http://www.aditus.nu/jpgraph/jpdownload.php.
  249 // DEFAULT: true
  250 // POSSIBLE VALUES: true, false
  251 $BAW_CONF['use_jpgraph'] = false;
  252 
  253 // NAME:    Path to JPGraph
  254 // INFO:    Where is your JPGraph installation? (The folder where jpgraph.php is
  255 //          in. No trailing slash)
  256 // DEFAULT: '/path/to/betterawstats/jpgraph/src'
  257 $BAW_CONF['jpgraph_path'] = '/path/to/betterawstats/jpgraph/src';
  258 
  259 
  260 
  261 //*********************************************************/
  262 //*          ADVANCED SETTINGS
  263 //*********************************************************/
  264 
  265 // NAME:    XHTML/ HTML
  266 // INFO:    Do you want output in HTML or XHTML?
  267 // DEFAULT: true
  268 // POSSIBLE VALUES: true, false
  269 $BAW_CONF['xhtml'] = false;
  270 
  271 // NAME:    Debug
  272 // INFO:    Do you want to show debug-output (VERY detailed)?
  273 // DEFAULT: true
  274 // POSSIBLE VALUES: true, false
  275 $BAW_CONF['debug'] = false;
  276 
  277 // NAME:    Parser Stats
  278 // INFO:    Do you want to show log file parsing data below the stats summary?
  279 // DEFAULT: true
  280 // POSSIBLE VALUES: true, false
  281 $BAW_CONF['show_parser_stats'] = true;
  282 
  283 // NAME:    Module settings
  284 // INFO:    Are you using BetterAWstats as a module for another software?
  285 //          (Currently only Drupal is supported)
  286 // DEFAULT: 'none'
  287 // POSSIBLE VALUES: 'none', 'drupal'
  288 $BAW_CONF['module'] = 'none';
  289 
  290 
  291 
  292 //*********************************************************/
  293 //*          DISPLAY
  294 //*********************************************************/
  295 
  296 // NAME:    Summary
  297 // INFO:    General Overview of key figures and dates
  298 $BAW_CONF_DIS['overview'] = array(
  299     'show' => true,    // Show this Data?
  300     'collapse' => false,    // Collapsed?
  301     'order' => '1',    // Item Sequence
  302 );
  303 
  304 // NAME:    Monthly history
  305 // INFO:    Monthly data
  306 $BAW_CONF_DIS['months'] = array(
  307     'show' => true,    // Show this Data?
  308     'collapse' => false,    // Collapsed?
  309     'order' => '2',    // Item Sequence
  310     'top_x' => '24',    // Show how many entries?
  311     'avg' => true,    // Show averages?
  312     'total' => true,    // Show total Sum?
  313     'chart' => true,    // Show HTML chart?
  314     'table' => true,    // Show data table?
  315 );
  316 
  317 // NAME:    Days of month
  318 // INFO:    Daily data
  319 $BAW_CONF_DIS['days'] = array(
  320     'show' => true,    // Show this Data?
  321     'collapse' => false,    // Collapsed?
  322     'order' => '3',    // Item Sequence
  323     'avg' => true,    // Show averages?
  324     'total' => true,    // Show total Sum?
  325     'chart' => true,    // Show HTML chart?
  326     'table' => true,    // Show data table?
  327 );
  328 
  329 // NAME:    Days of week (Averages)
  330 // INFO:    Weekdays
  331 $BAW_CONF_DIS['weekdays'] = array(
  332     'show' => true,    // Show this Data?
  333     'collapse' => false,    // Collapsed?
  334     'order' => '4',    // Item Sequence
  335     'avg' => true,    // Show averages?
  336     'total' => false,    // Show total Sum?
  337     'chart' => true,    // Show HTML chart?
  338     'table' => true,    // Show data table?
  339 );
  340 
  341 // NAME:    Hours (Averages)
  342 // INFO:    Hours of the day
  343 $BAW_CONF_DIS['hours'] = array(
  344     'show' => true,    // Show this Data?
  345     'collapse' => false,    // Collapsed?
  346     'order' => '5',    // Item Sequence
  347     'avg' => true,    // Show averages?
  348     'total' => false,    // Show total Sum?
  349     'chart' => true,    // Show HTML chart?
  350     'table' => true,    // Show data table?
  351     'sort' => '1',    // Sort for which column?  Possible values are:
  352     // '1'=Hours, '2'=Pages, '3'=Hits, '4'=Bandwidth
  353     'sort_dir' => SORT_ASC,    // Sort direction? Possible values are:
  354     // SORT_ASC=Ascending, SORT_DESC=Descending
  355 );
  356 
  357 // NAME:    Visitors domains/countries
  358 // INFO:    Domains of visitors
  359 $BAW_CONF_DIS['domains'] = array(
  360     'show' => true,    // Show this Data?
  361     'collapse' => false,    // Collapsed?
  362     'order' => '6',    // Item Sequence
  363     'avg' => false,    // Show averages?
  364     'total' => false,    // Show total Sum?
  365     'chart' => true,    // Show HTML chart?
  366     'table' => true,    // Show data table?
  367     'map' => true,    // Show Map Image?
  368     'top_x' => '10',    // Show how many entries?
  369     'sort' => '0',    // Sort for which column?  Possible values are:
  370     // 'key'=Visitors domains/countries, '0'=Pages, '1'=Hits, '2'=Bandwidth
  371     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  372     // SORT_ASC=Ascending, SORT_DESC=Descending
  373 );
  374 
  375 // NAME:    Hosts
  376 // INFO:    IP addresses of visitors
  377 $BAW_CONF_DIS['visitors'] = array(
  378     'show' => true,    // Show this Data?
  379     'collapse' => false,    // Collapsed?
  380     'order' => '7',    // Item Sequence
  381     'avg' => true,    // Show averages?
  382     'total' => true,    // Show total Sum?
  383     'table' => true,    // Show data table?
  384     'top_x' => '10',    // Show how many entries?
  385     'sort' => '1',    // Sort for which column?  Possible values are:
  386     // '0'=Hosts, '1'=Pages, '2'=Hits, '3'=Bandwidth, '4'=Ratio(Hits/Pages),
  387     // '5'=Last visit
  388     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  389     // SORT_ASC=Ascending, SORT_DESC=Descending
  390     'assumebot' => '1',    // Hits/pages minimum ratio to assume normal user?
  391 );
  392 
  393 // NAME:    Authenticated users
  394 // INFO:    Logins for username/password protected pages
  395 $BAW_CONF_DIS['logins'] = array(
  396     'show' => true,    // Show this Data?
  397     'collapse' => false,    // Collapsed?
  398     'order' => '8',    // Item Sequence
  399     'avg' => false,    // Show averages?
  400     'total' => false,    // Show total Sum?
  401     'table' => true,    // Show data table?
  402     'top_x' => '5',    // Show how many entries?
  403     'sort' => '1',    // Sort for which column?  Possible values are:
  404     // 'key'=Authenticated users, '0'=Pages, '1'=Hits, '2'=Bandwidth, '3'=Last
  405     // visit
  406     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  407     // SORT_ASC=Ascending, SORT_DESC=Descending
  408 );
  409 
  410 // NAME:    Robots/Spiders visitors
  411 // INFO:    Spiders, Robots of Search engines etc.
  412 $BAW_CONF_DIS['robots'] = array(
  413     'show' => true,    // Show this Data?
  414     'collapse' => false,    // Collapsed?
  415     'order' => '9',    // Item Sequence
  416     'avg' => true,    // Show averages?
  417     'total' => true,    // Show total Sum?
  418     'table' => true,    // Show data table?
  419     'top_x' => '10',    // Show how many entries?
  420     'sort' => '1',    // Sort for which column?  Possible values are:
  421     // '0'=Robots/Spiders visitors, '1'=Hits, '2'=Hits (robots.txt),
  422     // '3'=Bandwidth, '4'=Last visit
  423     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  424     // SORT_ASC=Ascending, SORT_DESC=Descending
  425 );
  426 
  427 // NAME:    Worms
  428 // INFO:    Worms searching for security holes
  429 $BAW_CONF_DIS['worms'] = array(
  430     'show' => true,    // Show this Data?
  431     'collapse' => false,    // Collapsed?
  432     'order' => '10',    // Item Sequence
  433     'avg' => false,    // Show averages?
  434     'total' => true,    // Show total Sum?
  435     'table' => true,    // Show data table?
  436     'top_x' => '10',    // Show how many entries?
  437     'sort' => '2',    // Sort for which column?  Possible values are:
  438     // '0'=Worms, '1'=Sensitive targets, '2'=Hits, '3'=Bandwidth, '4'=Last visit
  439     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  440     // SORT_ASC=Ascending, SORT_DESC=Descending
  441 );
  442 
  443 // NAME:    Visits duration
  444 // INFO:    How long have people been on the site?
  445 $BAW_CONF_DIS['sessions'] = array(
  446     'show' => true,    // Show this Data?
  447     'collapse' => false,    // Collapsed?
  448     'order' => '11',    // Item Sequence
  449     'avg' => false,    // Show averages?
  450     'total' => false,    // Show total Sum?
  451     'table' => true,    // Show data table?
  452 );
  453 
  454 // NAME:    File type
  455 // INFO:    What filetypes are on the site
  456 $BAW_CONF_DIS['filetype'] = array(
  457     'show' => true,    // Show this Data?
  458     'collapse' => false,    // Collapsed?
  459     'order' => '12',    // Item Sequence
  460     'avg' => false,    // Show averages?
  461     'total' => true,    // Show total Sum?
  462     'table' => true,    // Show data table?
  463     'top_x' => '10',    // Show how many entries?
  464     'chart' => true,    // Show HTML chart?
  465     'sort' => '0',    // Sort for which column?  Possible values are:
  466     // 'key'=File type, '0'=Hits, '1'=Bandwidth, '2'=Compression on,
  467     // '3'=Compression result
  468     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  469     // SORT_ASC=Ascending, SORT_DESC=Descending
  470 );
  471 
  472 // NAME:    Pages-URL
  473 // INFO:    Pages on the site
  474 $BAW_CONF_DIS['urls'] = array(
  475     'show' => true,    // Show this Data?
  476     'collapse' => false,    // Collapsed?
  477     'order' => '13',    // Item Sequence
  478     'avg' => true,    // Show averages?
  479     'total' => true,    // Show total Sum?
  480     'table' => true,    // Show data table?
  481     'top_x' => '10',    // Show how many entries?
  482     'sort' => '1',    // Sort for which column?  Possible values are:
  483     // '0'=Pages-URL, '1'=Viewed, '2'=Average size, '3'=Entry, '4'=Exit
  484     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  485     // SORT_ASC=Ascending, SORT_DESC=Descending
  486 );
  487 
  488 // NAME:    Files/paths
  489 // INFO:    Files/paths on the site
  490 $BAW_CONF_DIS['paths'] = array(
  491     'show' => true,    // Show this Data?
  492     'collapse' => false,    // Collapsed?
  493     'order' => '14',    // Item Sequence
  494     'avg' => true,    // Show averages?
  495     'total' => true,    // Show total Sum?
  496     'table' => true,    // Show data table?
  497     'top_x' => '10',    // Show how many entries?
  498     'sort' => '1',    // Sort for which column?  Possible values are:
  499     // '0'=Files/paths, '1'=Viewed
  500     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  501     // SORT_ASC=Ascending, SORT_DESC=Descending
  502 );
  503 
  504 // NAME:    Operating Systems
  505 // INFO:    Operating system of users
  506 $BAW_CONF_DIS['os'] = array(
  507     'show' => true,    // Show this Data?
  508     'collapse' => false,    // Collapsed?
  509     'order' => '15',    // Item Sequence
  510     'avg' => false,    // Show averages?
  511     'total' => false,    // Show total Sum?
  512     'table' => true,    // Show data table?
  513     'chart' => true,    // Show HTML chart?
  514     'top_x' => '10',    // Show how many entries?
  515     'sort' => '2',    // Sort for which column?  Possible values are:
  516     // '1'=Operating Systems, '2'=Hits
  517     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  518     // SORT_ASC=Ascending, SORT_DESC=Descending
  519 );
  520 
  521 // NAME:    Unknown OS (useragent field)
  522 // INFO:    Unknown Operating system
  523 $BAW_CONF_DIS['unknownos'] = array(
  524     'show' => false,    // Show this Data?
  525     'collapse' => false,    // Collapsed?
  526     'order' => '17',    // Item Sequence
  527     'avg' => false,    // Show averages?
  528     'total' => false,    // Show total Sum?
  529     'table' => true,    // Show data table?
  530     'top_x' => '10',    // Show how many entries?
  531     'sort' => '1',    // Sort for which column?  Possible values are:
  532     // '1'=User Agent, '2'=Last visit
  533     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  534     // SORT_ASC=Ascending, SORT_DESC=Descending
  535 );
  536 
  537 // NAME:    Operating Systems (+Versions)
  538 // INFO:    Operating system of users including versions
  539 $BAW_CONF_DIS['osversions'] = array(
  540     'show' => false,    // Show this Data?
  541     'collapse' => false,    // Collapsed?
  542     'order' => '16',    // Item Sequence
  543     'avg' => false,    // Show averages?
  544     'total' => false,    // Show total Sum?
  545     'table' => true,    // Show data table?
  546     'chart' => true,    // Show HTML chart?
  547     'top_x' => '10',    // Show how many entries?
  548     'sort' => '2',    // Sort for which column?  Possible values are:
  549     // '1'=Operating Systems, '2'=Hits
  550     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  551     // SORT_ASC=Ascending, SORT_DESC=Descending
  552 );
  553 
  554 // NAME:    Browsers
  555 // INFO:    User Browser Type
  556 $BAW_CONF_DIS['browsers'] = array(
  557     'show' => true,    // Show this Data?
  558     'collapse' => false,    // Collapsed?
  559     'order' => '18',    // Item Sequence
  560     'avg' => false,    // Show averages?
  561     'total' => false,    // Show total Sum?
  562     'chart' => true,    // Show HTML chart?
  563     'table' => true,    // Show data table?
  564     'top_x' => '10',    // Show how many entries?
  565     'sort' => '3',    // Sort for which column?  Possible values are:
  566     // '1'=Browsers, '2'=Grabber, '3'=Hits
  567     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  568     // SORT_ASC=Ascending, SORT_DESC=Descending
  569 );
  570 
  571 // NAME:    Browsers (+Versions)
  572 // INFO:    User Browser Type (+Versions)
  573 $BAW_CONF_DIS['browserversions'] = array(
  574     'show' => false,    // Show this Data?
  575     'collapse' => false,    // Collapsed?
  576     'order' => '19',    // Item Sequence
  577     'avg' => false,    // Show averages?
  578     'total' => false,    // Show total Sum?
  579     'table' => true,    // Show data table?
  580     'chart' => false,    // Show HTML chart?
  581     'top_x' => '10',    // Show how many entries?
  582     'sort' => '4',    // Sort for which column?  Possible values are:
  583     // '2'=Browsers, '3'=Grabber, '4'=Hits
  584     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  585     // SORT_ASC=Ascending, SORT_DESC=Descending
  586 );
  587 
  588 // NAME:    Unknown browsers (useragent field)
  589 // INFO:    Unknown Browsers
  590 $BAW_CONF_DIS['unknownbrowser'] = array(
  591     'show' => false,    // Show this Data?
  592     'collapse' => false,    // Collapsed?
  593     'order' => '20',    // Item Sequence
  594     'avg' => false,    // Show averages?
  595     'total' => false,    // Show total Sum?
  596     'table' => true,    // Show data table?
  597     'top_x' => '10',    // Show how many entries?
  598     'sort' => '1',    // Sort for which column?  Possible values are:
  599     // '1'=User Agent, '2'=Last visit
  600     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  601     // SORT_ASC=Ascending, SORT_DESC=Descending
  602 );
  603 
  604 // NAME:    Screen sizes
  605 // INFO:    Screensizes of users
  606 $BAW_CONF_DIS['screensizes'] = array(
  607     'show' => true,    // Show this Data?
  608     'collapse' => false,    // Collapsed?
  609     'order' => '21',    // Item Sequence
  610     'avg' => false,    // Show averages?
  611     'total' => false,    // Show total Sum?
  612     'table' => true,    // Show data table?
  613     'chart' => true,    // Show HTML chart?
  614     'top_x' => '5',    // Show how many entries?
  615     'sort' => '2',    // Sort for which column?  Possible values are:
  616     // '1'=Screen sizes, '2'=Hits
  617     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  618     // SORT_ASC=Ascending, SORT_DESC=Descending
  619 );
  620 
  621 // NAME:    Referring search engines
  622 // INFO:    Referrals from search engines
  623 $BAW_CONF_DIS['se_referers'] = array(
  624     'show' => true,    // Show this Data?
  625     'collapse' => false,    // Collapsed?
  626     'order' => '22',    // Item Sequence
  627     'avg' => false,    // Show averages?
  628     'total' => true,    // Show total Sum?
  629     'table' => true,    // Show data table?
  630     'top_x' => '10',    // Show how many entries?
  631     'sort' => '1',    // Sort for which column?  Possible values are:
  632     // '0'=Referring search engines, '1'=Pages, '2'=Hits
  633     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  634     // SORT_ASC=Ascending, SORT_DESC=Descending
  635     'favicon' => true,    // Retrieve favicons for external URLs?
  636 );
  637 
  638 // NAME:    Referring sites
  639 // INFO:    Referrals from other sites
  640 $BAW_CONF_DIS['referers'] = array(
  641     'show' => true,    // Show this Data?
  642     'collapse' => false,    // Collapsed?
  643     'order' => '23',    // Item Sequence
  644     'avg' => false,    // Show averages?
  645     'total' => true,    // Show total Sum?
  646     'table' => true,    // Show data table?
  647     'top_x' => '10',    // Show how many entries?
  648     'sort' => '1',    // Sort for which column?  Possible values are:
  649     // '0'=Referring sites, '1'=Pages, '2'=Hits
  650     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  651     // SORT_ASC=Ascending, SORT_DESC=Descending
  652     'favicon' => false,    // Retrieve favicons for external URLs?
  653 );
  654 
  655 // NAME:    Referring sites by Domains
  656 // INFO:    Referrals from other sites, grouped by 2-nd level domains
  657 $BAW_CONF_DIS['referer_domains'] = array(
  658     'show' => true,    // Show this Data?
  659     'collapse' => false,    // Collapsed?
  660     'order' => '24',    // Item Sequence
  661     'avg' => false,    // Show averages?
  662     'total' => true,    // Show total Sum?
  663     'table' => true,    // Show data table?
  664     'top_x' => '10',    // Show how many entries?
  665     'sort' => '1',    // Sort for which column?  Possible values are:
  666     // '0'=Referring sites, '1'=Pages, '2'=Hits
  667     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  668     // SORT_ASC=Ascending, SORT_DESC=Descending
  669     'favicon' => false,    // Retrieve favicons for external URLs?
  670     'domain_lvls' => '3',    // Shorten URL to how many domain levels? (-1 to disable)
  671 );
  672 
  673 // NAME:    Hotlinks
  674 // INFO:    Pages linking to images/data on your site
  675 $BAW_CONF_DIS['hotlinks'] = array(
  676     'show' => true,    // Show this Data?
  677     'collapse' => false,    // Collapsed?
  678     'order' => '25',    // Item Sequence
  679     'avg' => false,    // Show averages?
  680     'total' => true,    // Show total Sum?
  681     'table' => true,    // Show data table?
  682     'top_x' => '10',    // Show how many entries?
  683     'sort' => '1',    // Sort for which column?  Possible values are:
  684     // '0'=Referring sites, '1'=Hits
  685     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  686     // SORT_ASC=Ascending, SORT_DESC=Descending
  687     'favicon' => false,    // Retrieve favicons for external URLs?
  688 );
  689 
  690 // NAME:    Hotlinks by Domains
  691 // INFO:    Domains linking to images/data on your site
  692 $BAW_CONF_DIS['hotlink_domains'] = array(
  693     'show' => true,    // Show this Data?
  694     'collapse' => false,    // Collapsed?
  695     'order' => '26',    // Item Sequence
  696     'avg' => false,    // Show averages?
  697     'total' => true,    // Show total Sum?
  698     'table' => true,    // Show data table?
  699     'top_x' => '10',    // Show how many entries?
  700     'sort' => '1',    // Sort for which column?  Possible values are:
  701     // '0'=Referring sites, '1'=Hits
  702     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  703     // SORT_ASC=Ascending, SORT_DESC=Descending
  704     'favicon' => false,    // Retrieve favicons for external URLs?
  705     'domain_lvls' => '3',    // Shorten URL to how many domain levels? (-1 to disable)
  706 );
  707 
  708 // NAME:    Search Keyphrases
  709 // INFO:    Search phrases
  710 $BAW_CONF_DIS['searchphrases'] = array(
  711     'show' => true,    // Show this Data?
  712     'collapse' => false,    // Collapsed?
  713     'order' => '27',    // Item Sequence
  714     'avg' => false,    // Show averages?
  715     'total' => true,    // Show total Sum?
  716     'table' => true,    // Show data table?
  717     'top_x' => '10',    // Show how many entries?
  718     'sort' => '1',    // Sort for which column?  Possible values are:
  719     // '0'=different keyphrases, '1'=Hits
  720     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  721     // SORT_ASC=Ascending, SORT_DESC=Descending
  722 );
  723 
  724 // NAME:    Search Keywords
  725 // INFO:    Search words
  726 $BAW_CONF_DIS['searchwords'] = array(
  727     'show' => true,    // Show this Data?
  728     'collapse' => false,    // Collapsed?
  729     'order' => '28',    // Item Sequence
  730     'avg' => false,    // Show averages?
  731     'total' => true,    // Show total Sum?
  732     'table' => true,    // Show data table?
  733     'top_x' => '10',    // Show how many entries?
  734     'sort' => '1',    // Sort for which column?  Possible values are:
  735     // '0'=different keywords, '1'=Hits
  736     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  737     // SORT_ASC=Ascending, SORT_DESC=Descending
  738 );
  739 
  740 // NAME:    Miscellaneous
  741 // INFO:    User system features
  742 $BAW_CONF_DIS['misc'] = array(
  743     'show' => true,    // Show this Data?
  744     'collapse' => false,    // Collapsed?
  745     'order' => '29',    // Item Sequence
  746     'table' => true,    // Show data table?
  747 );
  748 
  749 // NAME:    HTTP Status codes
  750 // INFO:    Acesses to pages that returned errors
  751 $BAW_CONF_DIS['errors'] = array(
  752     'show' => true,    // Show this Data?
  753     'collapse' => false,    // Collapsed?
  754     'order' => '30',    // Item Sequence
  755     'total' => true,    // Show total Sum?
  756     'table' => true,    // Show data table?
  757     'top_x' => '10',    // Show how many entries?
  758     'sort' => '2',    // Sort for which column?  Possible values are:
  759     // '0'=HTTP Status codes, '2'=Hits, '3'=Average size
  760     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  761     // SORT_ASC=Ascending, SORT_DESC=Descending
  762 );
  763 
  764 // NAME:    Error Hits
  765 // INFO:    Required but not found URLs (HTTP code 404)
  766 $BAW_CONF_DIS['errors404'] = array(
  767     'show' => true,    // Show this Data?
  768     'collapse' => false,    // Collapsed?
  769     'order' => '31',    // Item Sequence
  770     'table' => true,    // Show data table?
  771     'total' => true,    // Show total Sum?
  772     'top_x' => '10',    // Show how many entries?
  773     'sort' => '1',    // Sort for which column?  Possible values are:
  774     // '0'=Error Hits, '1'=Hits, '2'=Hits
  775     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  776     // SORT_ASC=Ascending, SORT_DESC=Descending
  777 );
  778 
  779 // NAME:    Color depth
  780 // INFO:    Screen colors of users
  781 $BAW_CONF_DIS['extra_1'] = array(
  782     'show' => true,    // Show this Data?
  783     'collapse' => false,    // Collapsed?
  784     'order' => '32',    // Item Sequence
  785     'total' => false,    // Show total Sum?
  786     'table' => true,    // Show data table?
  787     'top_x' => '10',    // Show how many entries?
  788     'sort' => '1',    // Sort for which column?  Possible values are:
  789     // '0'=Color depth in bits, '1'=Hits
  790     'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
  791     // SORT_ASC=Ascending, SORT_DESC=Descending
  792 );
  793 
  794 
  795 ?>