Make WordPress Core

Changeset 1225


Ignore:
Timestamp:
05/05/2004 06:44:59 AM (20 years ago)
Author:
saxmatt
Message:

Don't need slash at the beginning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/links-update-xml.php

    r1148 r1225  
    5252    global $ignore_weblogs_cache;
    5353    $update = false;
    54     $file = ABSPATH . '/wp-content/links-update-cache.xml';
     54    $file = ABSPATH . 'wp-content/links-update-cache.xml';
    5555    if ($ignore_weblogs_cache) {
    5656        $update = true;
     
    7777            $contents = preg_replace('|[^[:space:][:punct:][:alpha:][:digit:]]|','',$contents);
    7878
    79             $cachefp = fopen(ABSPATH . '/wp-content/links-update-cache.xml', "w");
     79            $cachefp = fopen(ABSPATH . 'wp-content/links-update-cache.xml', "w");
    8080            fwrite($cachefp, $contents);
    8181            fclose($cachefp);
     
    148148
    149149    // Open the XML file for reading
    150     $fp = fopen(ABSPATH . '/wp-content/links-update-cache.xml', "r")
     150    $fp = fopen(ABSPATH . 'wp-content/links-update-cache.xml', "r")
    151151          or die("Error reading XML data.");
    152152
Note: See TracChangeset for help on using the changeset viewer.