[wp-trac] [WordPress Trac] #26592: Allow ABSPATH to be set outside of wp-load.php

WordPress Trac noreply at wordpress.org
Mon Dec 16 17:51:47 UTC 2013


#26592: Allow ABSPATH to be set outside of wp-load.php
-----------------------------+------------------------------
 Reporter:  jeichorn         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by jeichorn):

 There are a couple of things going on.

 The first is that every config constant is user definable except for
 ABSPATH


 The second was, the plugin dir was just an example of the problems (and
 you are correct that setting WP_CONTENT_DIR should fix that).

 Looking at my notes more, the unsolvable problem is loading wp-config.php

 In our case wp-load.php lives in /wordpress/wp-load.php
 The wp-config.php lives in /username/current/wp-config.php
 wp-load.php tries to load wp-config using ABSPATH and fails.

 It might be slightly better (some symlinks aren't required) to make the
 location of wp-config.php an overridable constant rather then making
 ABSPATH, but thats a more complicated solution

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26592#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list