aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-04-01 13:59:55 -0300
committerSilvio <silvio@devlet.com.br>2010-04-01 13:59:55 -0300
commit0e67880b97909c08021ef5fa1075082cfc9b6e26 (patch)
tree8bc75fbff2a87c2fa8718d6b36bd29e6687c05c9 /index.php
parent0bfdde221663dae880797b74da45e2f66a4caada (diff)
downloadcinisis-0e67880b97909c08021ef5fa1075082cfc9b6e26.tar.gz
cinisis-0e67880b97909c08021ef5fa1075082cfc9b6e26.tar.bz2
Charset support on PhpIsisDb
Diffstat (limited to 'index.php')
-rw-r--r--index.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/index.php b/index.php
index 42140d6..ff40fd8 100644
--- a/index.php
+++ b/index.php
@@ -23,6 +23,16 @@ spl_autoload_register("cinisis_autoload");
// Get a db instance.
$isis = new CinIsis();
+?>
+
+<!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);
@@ -36,3 +46,4 @@ if ($isis->db) {
}
?>
+</body>