Title: links.weblogs.com.php require error?
Last modified: August 18, 2016

---

# links.weblogs.com.php require error?

 *  Resolved Anonymous
 * [22 years, 10 months ago](https://wordpress.org/support/topic/linksweblogscomphp-require-error/)
 * Shouldn’t /wp-links/links.weblogs.com.php state require_once($abspath.’b2config.
   php’); instead of require_once(‘b2config.php’);?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Julian](https://wordpress.org/support/users/julian/)
 * (@julian)
 * [22 years, 10 months ago](https://wordpress.org/support/topic/linksweblogscomphp-require-error/#post-21756)
 * b2config.php resides in the working directory specified in $abspath. links.weblogs.
   com.php does not, but when this script is run the it’s working directoryis not
   the same as $abspath, so prepending $abspath points links.weblogs.com.php to 
   the right directory.
 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 10 months ago](https://wordpress.org/support/topic/linksweblogscomphp-require-error/#post-21776)
 * Also the $abspath variable comes _from_ b2config.php. If you have modified your
   installation as such I suggest you change it back because it’s a security hazard.(
   $abspath could be specified through the querystring and allow remote code execution.)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘links.weblogs.com.php require error?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * Last activity: [22 years, 10 months ago](https://wordpress.org/support/topic/linksweblogscomphp-require-error/#post-21776)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
