aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
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>