diff options
author | Silvio <silvio@devlet.com.br> | 2010-03-30 15:41:42 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-03-30 15:41:42 -0300 |
commit | 2fc4b766f4422f6a58c0a535fadf99096e7a9ddd (patch) | |
tree | 62ac2cd98f59541d9dde04ca93404b7d433f0daf /index.php | |
parent | ed4a97748c2c9b76e45c69287d37f995da8fcbde (diff) | |
download | cinisis-2fc4b766f4422f6a58c0a535fadf99096e7a9ddd.tar.gz cinisis-2fc4b766f4422f6a58c0a535fadf99096e7a9ddd.tar.bz2 |
Adding doxygen
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -17,14 +17,18 @@ function __autoload($class) { require_once 'classes/' .$class. '.php'; } -// Test database connection. +// Load database schema. $schema = Spyc::YAMLLoad('schemas/anu10.yaml'); + +// Setup database connection. $db = new MaleteDb($schema); //$db = new PhpIsisDb($schema); + +// Test connection. if ($db) { + echo '<pre>'; $result = $db->read(1); //$result = $db->rows(); - echo '<pre>'; print_r($result); echo '</pre>'; } |