summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-18 08:52:37 +0100
committerAndrew Dolgov <[email protected]>2005-11-18 08:52:37 +0100
commitd9a94634adf6497579636646e601902afacbf800 (patch)
treea863d13b07068c9e99a129945e0ffbd064ef3054 /error.php
parent5f334d7167996a418a8d8a533d9e3563c708e392 (diff)
remove get_pref calls from error.php because it is supposed to work w/o logged in user
Diffstat (limited to 'error.php')
-rw-r--r--error.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/error.php b/error.php
index 5e915483d..1fd59ed70 100644
--- a/error.php
+++ b/error.php
@@ -3,8 +3,6 @@
require_once "config.php";
require_once "db-prefs.php";
- $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
-
$ERRORS[0] = "Unknown error";
$ERRORS[1] = "This program requires XmlHttpRequest " .
@@ -35,7 +33,6 @@
</head>
<table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
-<? if (get_pref($link, 'DISPLAY_HEADER')) { ?>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" width="100%"><tr>
@@ -48,7 +45,6 @@
</tr></table>
</td>
</tr>
-<? } ?>
<tr>
<td id="prefContent" class="prefContent" valign="top" colspan="2">
@@ -58,7 +54,6 @@
</td>
</tr>
-<? if (get_pref($link, 'DISPLAY_FOOTER')) { ?>
<tr>
<td class="footer" colspan="2">
<a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> &copy; 2005 Andrew Dolgov
@@ -67,7 +62,6 @@
<? } ?>
</td>
</td>
-<? } ?>
</table>