aboutsummaryrefslogtreecommitdiff
path: root/apps/audit.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/audit.php')
-rw-r--r--apps/audit.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/audit.php b/apps/audit.php
new file mode 100644
index 0000000..28237b0
--- /dev/null
+++ b/apps/audit.php
@@ -0,0 +1,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.
+ $result = $isis->run();
+
+ // Format output.
+ echo "<pre>\n";
+ print_r($result);
+ echo '</pre>';
+}
+
+$display->footer();