aboutsummaryrefslogtreecommitdiff
path: root/apps/audit.php
blob: 10e6dd68123f29d01eaa712a8559d07a7f2d08be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/**
 * Cinisis - Isis db reading tool.
 */

// Import requisites.
require_once '../index.php';

// Draw the document.
$display = new CinisisDisplayHelper('Database audit');

// Get a db instance.
$isis = new IsisAudit();

// Setup database and entry number.
if ($isis) {
  // Run audit.
  $isis->run();

  // Display log messages.
  foreach ($isis->log as $message) {
    $display->pre($message);
  }
}

$display->footer();