aboutsummaryrefslogtreecommitdiff
path: root/apps/audit.php
blob: 0bd560b7baeda9bc9c1ac6e22ed7a8afd41a7aa1 (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(print_r($message));
  }
}

$display->footer();