Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Installation using symbolic links


Matthew Batchelder
Participant

@borkweb

Here’s the solution I came up with. Rather than using the nested dirname functions, I found this to work nicely:

require_once( preg_replace('/(.*)/wp-content/.*/', '1', dirname(__FILE__)) . '/wp-load.php' );

I’ll create a ticket if this is something that is reasonable. Thoughts?

Skip to toolbar