Changeset 454 for devel/search
- Timestamp:
- 07/16/06 23:10:36 (2 years ago)
- Files:
-
- devel/search/rss.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/search/rss.php
r296 r454 18 18 // no time data on this RSS, at least not without rewriting some function outputs 19 19 20 $if_none_match = preg_replace('/[^0-9a-f]/', '', $_SERVER['HTTP_IF_NONE_MATCH']);20 $if_none_match = (isset($_SERVER['HTTP_IF_NONE_MATCH'])) ? preg_replace('/[^0-9a-f]/', '', $_SERVER['HTTP_IF_NONE_MATCH']) : false; 21 21 22 22 $etag = md5($output); 23 23 24 if ($if_none_match == $etag) {24 if ($if_none_match && $if_none_match == $etag) { 25 25 header("{$_SERVER['SERVER_PROTOCOL']} 304 Not Modified"); 26 26 exit;
