Make WordPress Core

Changeset 737


Ignore:
Timestamp:
01/07/2004 09:02:26 PM (22 years ago)
Author:
emc3
Message:

Fixed include path problem for links-update-xml

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r699 r737  
    33$blog = 1;
    44require_once('wp-blog-header.php');
     5// Uncomment the next line if you want to track blog updates from weblogs.com
     6//include_once(ABSPATH.WPINC.'/links-update-xml.php');
    57?>
    68<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  • trunk/wp-includes/links-update-xml.php

    r714 r737  
    33// Copyright (C) 2003 Mike Little -- mike@zed1.com
    44
    5 require_once('../wp-config.php');
     5// Get the path of our parent directory:
     6$parentpath = dirname(dirname(__FILE__));
     7
     8require_once($parentpath.'/wp-config.php');
    69
    710// globals to hold state
Note: See TracChangeset for help on using the changeset viewer.