[2.68]
$extconv = "fileext";
$filetype = "filetype";
$dirdomain = "domain";
$dirdownload = "download";
$earthmap = "earth.jpg";
$icon_filetype = "filetype".$gifext;
[2.75]
$carext = ".";
$extension = '';
for ($i=0;$i<=$#extension;$i++) {
$extension .= "$carext".$extension[$i]."\$|";
}
chop($extension);
[2.75]
$dirflags = "flags";
$pagedate = "pagedate";
$pagehas = "pagehas";
[2.78]
$tmp = $path;
chop($tmp);
$pos = rindex($tmp,$dirsep);
$packagename = substr($tmp,$pos+1,length($tmp));
[2.81]
$dirtraffic = "traffic";
$icon_traffic = "traffic".$gifext;
[2.82]
if ($struct_logfile =~ "%referer") {
    $referlog = $prefixlog;
}
if ($struct_logfile =~ "%agent") {
    $agentlog = $prefixlog;
}
[2.83]
$increfexit = "refexit";
[2.85]
$filevirus = "virus".$htmlext;
$virusdef = "virus";
$icon_virus = "virus".$gifext;
[2.87]
# Scripts running
$actif_inc = 1;
$actif_hour = 1;
$actif_day = 1;
$actif_week = 1;
$actif_month = 1;
$actif_agent = 1;
$actif_refer = 1;
$actif_session = 1;
$actif_error = 1;
$actif_history = 0;
$actif_url = 1;
# Scripts running every n day
$inc_launch = 1;
$hour_launch = 1;
$day_launch = 1;
$week_launch = 1;
$month_launch = 1;
$refer_launch = 1;
$agent_launch = 1;
$error_launch = 1;
$session_launch = 1;
$url_launch = 7;
$history_launch = 1;
# Hour when scripts are running 
$inc_launch_time = 0;
$inc_launch_time_min = 0;
$hour_launch_time = 0;
$day_launch_time = 0;
$week_launch_time = 0;
$month_launch_time = 0;
$agent_launch_time = 0;
$refer_launch_time = 0;
$error_launch_time = 0;
$session_launch_time = 0;
$url_launch_time = 0;
$history_launch_time = 0;
$week_launch_day = 1; # launch on monday (0 = sunday, 6 = saturday)
$month_launch_day = 1; # launch on the first day of each month
[2.88]
$ftp_format = 0;
$ftp_format = 1 if ($struct_logfile =~ "%direction");
for ($i=0;$i<=$#logfile_fields;$i++) {
$fields_logfile{$logfile_fields[$i]} = $i;
$fields_logfile{$logfile_fields[$i]} += 4 if ($ftp_format == 1);
}
$direction = "o" if ($ftp_format == 0);
$incstatus = "status";
$incabort = "abort";
$incftp = "ftp";
[2.89]
$icon_go = "go".$gifext;
$file_now = "now".$htmlext;
[2.90]
$reversegeo = 0; # Map IP to country code
[2.91]
$icon_squid = "squid".$gifext;
$filesquid = "squid".$htmlext;
$squid_format = 0;
$squid_format = 1 if ($struct_logfile =~ "%codestatus");
$dirproxy = "proxy";
$incproxystatus = "proxy-status";
$incproxypeer = "proxy-peer";
$incproxyhosts = "proxy-host";
$iis_format = 0;
$logfile_sep = "[ \[]+";
$logfile_sep = "[ ]+" if ($squid_format == 1);
if ($squid_format == 0 && $ftp_format == 0) { 
if ($prefixlog eq "ex" || $logfile_fields[0] eq "%date" || ($logfile_fields[4] eq "%null" && $logfile_fields[5] eq "%null")) {
# IIS (NT)
$iis_format = 1;
$type_serveur = 1;
@date_string = split(/%/,$date_format);
$logfile_sep = ", " if ($logfile_fields[1] eq "%login"); # Standard
$logfile_sep = " " if ($logfile_fields[1] ne "%login");
}
}
[2.92]
$icon_flecheh = "flecheh".$gifext;
$icon_help = "help".$gifext;
$dirhelp = "help";
$reverse_geo = 1 if ($netgeo == 1 || $geoip_free == 1);
$inc_download_aborted = 0;
