";
$result .= "\n";
$result .= "\n";
$result .= "\n";
closedir($dir);
return $result;
}
function plugin_downlog_action(){
global $vars;
$logfile = DIR.$vars["downloadfile"];
$filesize = filesize("$logfile");
header ("Content-Disposition: attachment; filename=$logfile");
//header ("Content-type: application/octet-stream");
header ("Content-type: application/readlog");
header ("Content-length:$filesize");
readfile ($logfile);
exit;
}
?>