Changeset 1225
- Timestamp:
- 05/05/2004 06:44:59 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/links-update-xml.php
r1148 r1225 52 52 global $ignore_weblogs_cache; 53 53 $update = false; 54 $file = ABSPATH . ' /wp-content/links-update-cache.xml';54 $file = ABSPATH . 'wp-content/links-update-cache.xml'; 55 55 if ($ignore_weblogs_cache) { 56 56 $update = true; … … 77 77 $contents = preg_replace('|[^[:space:][:punct:][:alpha:][:digit:]]|','',$contents); 78 78 79 $cachefp = fopen(ABSPATH . ' /wp-content/links-update-cache.xml', "w");79 $cachefp = fopen(ABSPATH . 'wp-content/links-update-cache.xml', "w"); 80 80 fwrite($cachefp, $contents); 81 81 fclose($cachefp); … … 148 148 149 149 // 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") 151 151 or die("Error reading XML data."); 152 152
Note: See TracChangeset
for help on using the changeset viewer.