From 1f0a5aa6b243e2b8bba66fc62bd029e2fa801e4b Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 8 Apr 2010 11:55:02 -0300 Subject: Sorting out folder schene --- index.php | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index e93d0eb..b045be7 100644 --- a/index.php +++ b/index.php @@ -20,30 +20,7 @@ function cinisis_autoload($class) { // Register autoloader. spl_autoload_register("cinisis_autoload"); -// Get a db instance. -$isis = new CinisisDb(); +// Reference to the base path. +$cinisis_basedir = dirname(__FILE__); ?> - - - - - - - -db) { - $result = $isis->db->read(1); - $rows = $isis->db->rows(); - - // Format output. - echo '
';
-  echo "Rows: $rows\n";
-  print_r($result);
-  echo '
'; -} - -?> - -- cgit v1.2.3