Fixed include path problem for links-update-xml

git-svn-id: https://develop.svn.wordpress.org/trunk@737 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dougal Campbell 2004-01-07 21:02:26 +00:00
parent 4b2627ef26
commit 79426eeb74
2 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,8 @@
/* Don't remove these lines. */
$blog = 1;
require_once('wp-blog-header.php');
// Uncomment the next line if you want to track blog updates from weblogs.com
//include_once(ABSPATH.WPINC.'/links-update-xml.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

View File

@ -2,7 +2,10 @@
// Links weblogs.com grabber
// Copyright (C) 2003 Mike Little -- mike@zed1.com
require_once('../wp-config.php');
// Get the path of our parent directory:
$parentpath = dirname(dirname(__FILE__));
require_once($parentpath.'/wp-config.php');
// globals to hold state
$updated_timestamp = 0;