Removed aggresive assumption.

git-svn-id: https://develop.svn.wordpress.org/trunk@52 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2003-05-23 12:39:05 +00:00
parent dd5eec9929
commit ee8991d497
1 changed files with 3 additions and 1 deletions

View File

@ -35,13 +35,15 @@ $b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search
/* Connecting to the db */
dbconnect();
/* Sending HTTP headers */
/* Sending HTTP headers
// It is presumptious to think that WP is the only thing that might change on the page.
$last_modified_header = mysql2date('D, d M Y H:i:s', get_lastpostdate());
@header ("X-Pingback: $pathserver/xmlrpc.php");
if (!$is_winIE) {
@header ("Last-Modified: $last_modified_header");
@header ('ETag: "'.md5($last_modified_header.$pagenow).'"');
}
*/
/* Getting settings from db */
$posts_per_page = get_settings('posts_per_page');