summaryrefslogtreecommitdiffstats
path: root/www/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php
index a27fd0f..53584be 100644
--- a/www/index.php
+++ b/www/index.php
@@ -39,14 +39,18 @@ if (isset($_REQUEST['start'])) {
$title = 'Source Search Engine'.($q ? ' - '.htmlentities($q) : '');
+header('Content-Type: application/xhtml+xml');
+
echo <<<ECHOFORM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<?xml-stylesheet type="text/xsl" href="style.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"/>
<title>$title</title>
</head>
<body>
+<p><b>Better get an XSLT capable browser!</b></p>
ECHOFORM;
db_connect();