From 4185fc446b83e37b216bf3e0e7d6ab93474d591e Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 18 Apr 2005 14:02:20 +0000 Subject: [PATCH] use a better fix, I guess. We may need to think if there are other areas apart from RSS feeds that may get cached using appropriate last-modified headers. Most of the frontend will fail though, as sidebars may server dynamic content. --- rss.php | 2 +- serendipity_config.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rss.php b/rss.php index 12740b8..26301ca 100644 --- a/rss.php +++ b/rss.php @@ -3,7 +3,7 @@ # All rights reserved. See LICENSE file for licensing details header('Content-Type: text/xml; charset=utf-8'); -$delay_session_start = true; +session_cache_limiter('public'); include_once('serendipity_config.inc.php'); $version = $_GET['version']; $description = $serendipity['blogDescription']; diff --git a/serendipity_config.inc.php b/serendipity_config.inc.php index 621cde8..a913114 100644 --- a/serendipity_config.inc.php +++ b/serendipity_config.inc.php @@ -2,7 +2,7 @@ # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team) # All rights reserved. See LICENSE file for licensing details -if (!headers_sent() && !isset($delay_session_start)) { +if (!headers_sent()) { session_start(); } -- 2.39.5