diff options
Diffstat (limited to 'tests/test.php')
-rw-r--r-- | tests/test.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/test.php b/tests/test.php deleted file mode 100644 index 5a96e3b..0000000 --- a/tests/test.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/** - * Cinisis - Isis db reading tool. - */ -?> - -<?php -// Import requisites. -require_once '../index.php'; -?> - -<?php -// Draw the document. -$display = new CinisisDisplayHelper('Isis Test'); - -// Get a db instance. -$isis = new CinisisDb(); - -// Test connection. -if ($isis->db) { - $result = $isis->db->read(1); - $entries = $isis->db->entries(); - - // Format output. - echo '<pre>'; - echo "Connection test:\n"; - echo "Rows: $entries\n"; - print_r($result); - echo '</pre>'; -} - -?> -</body> |