blob: b653ad0b827be860e66ee2980f88b0d683f57f04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php require_once "../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?>
<?php $pageConfig = [ "domName" => "Historique d'activité", "headerName" => "Historique d'activité" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?>
<div id="logs">
<?php
if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/system.log")) {
$file = file($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/system.log");
for ($i = max(0, count($file)-100); $i < count($file); $i++) {
echo $file[$i] . "<br>";
}
} else {
echo($lang["admin-logs"]["nothing"][0] . "<br><br>" . $lang["admin-logs"]["nothing"][1]);
}
?>
</div><br><br>
<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/postcontent.php"; ?>
|