aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-04-08 11:55:02 -0300
committerSilvio <silvio@devlet.com.br>2010-04-08 11:55:02 -0300
commit1f0a5aa6b243e2b8bba66fc62bd029e2fa801e4b (patch)
tree42a49cfc1cf5422c5b42364b711c5b2597956cfb /index.php
parent923e3c23d05dc235f26d8cc3d96e4f43e1754b32 (diff)
downloadcinisis-1f0a5aa6b243e2b8bba66fc62bd029e2fa801e4b.tar.gz
cinisis-1f0a5aa6b243e2b8bba66fc62bd029e2fa801e4b.tar.bz2
Sorting out folder schene
Diffstat (limited to 'index.php')
-rw-r--r--index.php27
1 files changed, 2 insertions, 25 deletions
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__);
?>
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=cp850" />
- </head>
- <body>
-<?php
-
-// Test connection.
-if ($isis->db) {
- $result = $isis->db->read(1);
- $rows = $isis->db->rows();
-
- // Format output.
- echo '<pre>';
- echo "Rows: $rows\n";
- print_r($result);
- echo '</pre>';
-}
-
-?>
-</body>