xcat-core/xCAT-UI/logentry.php
vallard 520197fd0d new xCAT web client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-24 23:46:34 +00:00

16 lines
348 B
PHP

<?php
header("Cache-Control: no-cache");
require_once "lib/security.php";
require_once "lib/functions.php";
require_once "lib/display.php";
// gets the last log entry and prints it.
// start with 0 being the last line
if(isset($_REQUEST['l'])){
$ln = $_REQUEST['l'];
}else{
$ln = 0;
}
$line = getLastLine($ln);
logTotable($line);
?>