mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Fixed include path problem for links-update-xml
git-svn-id: http://svn.automattic.com/wordpress/trunk@737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
38361b3edf
commit
824fb50f60
@ -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">
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user