diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-18 12:01:13 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-18 12:01:13 -0300 |
commit | eb217536079197bd1d17cda2c2adf4ba12bad504 (patch) | |
tree | aa69b49fe3769430c9902fa1bc999c06aed58012 /apps/test.php | |
parent | 70539fe94d67cb4bdde7edce8a26873343d3c240 (diff) | |
download | cinisis-eb217536079197bd1d17cda2c2adf4ba12bad504.tar.gz cinisis-eb217536079197bd1d17cda2c2adf4ba12bad504.tar.bz2 |
Moving some apps to the samples folder
Diffstat (limited to 'apps/test.php')
-rw-r--r-- | apps/test.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/apps/test.php b/apps/test.php deleted file mode 100644 index 2b1fe5c..0000000 --- a/apps/test.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php -/** - * Cinisis - Isis db reading tool. - */ - -// Import requisites. -require_once '../index.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>'; -} - -$display->footer(); |