index.php now handles feeds and trackbacks.

git-svn-id: https://develop.svn.wordpress.org/trunk@1376 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2004-05-31 23:35:32 +00:00
parent 013c08307a
commit b721c5b54f
4 changed files with 33 additions and 10 deletions
+7 -3
View File
@@ -1,8 +1,12 @@
<?php
$blog = 1;
$doing_rss = 1;
require('wp-blog-header.php');
if (! $doing_rss) {
$doing_rss = 1;
require('wp-blog-header.php');
}
// Remove the pad, if present.
$feed = preg_replace('/^_+/', '', $feed);
if ($feed == '' || $feed == 'feed') {
// TODO: Get default feed from options DB.