Update of /cvsroot/phpwiki/phpwiki/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21906
Modified Files:
Request.php
Log Message:
fix for USECACHE=false
Index: Request.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/Request.php,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -2 -b -p -d -r1.70 -r1.71
--- Request.php 21 Oct 2004 19:59:18 -0000 1.70
+++ Request.php 22 Oct 2004 09:20:36 -0000 1.71
@@ -257,4 +257,5 @@ class Request {
// Set validator headers
+ if ($this->_is_buffering_output or !headers_sent()) {
if (($etag = $validators->getETag()) !== false)
header("ETag: " . $etag->asString());
@@ -264,4 +265,5 @@ class Request {
// Set cache control headers
$this->cacheControl();
+ }
if (CACHE_CONTROL == 'NO_CACHE')
@@ -1077,4 +1079,7 @@ class HTTP_ValidatorSet {
// $Log$
+// Revision 1.71 2004/10/22 09:20:36 rurban
+// fix for USECACHE=false
+//
// Revision 1.70 2004/10/21 19:59:18 rurban
// Patch #991494 (ppo): Avoid notice in PHP >= 4.3.3 if session already started
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
|
|