[wp-trac] Re: [WordPress Trac] #6933: Allow wp-config.php to exist one level up from WordPress root directory

WordPress Trac wp-trac at lists.automattic.com
Thu May 8 22:46:21 GMT 2008


#6933: Allow wp-config.php to exist one level up from WordPress root directory
-------------------------+--------------------------------------------------
 Reporter:  sambauers    |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.6      
Component:  General      |      Version:  2.5.1    
 Severity:  normal       |   Resolution:           
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Comment (by sambauers):

 Replying to [comment:7 westi]:
 > I am not sure how much benefit this provides for end users.

 It depends on the level of user. If I want to create my own SVN repository
 of my WordPress install (and at the moment I do) which includes all my
 plugins and themes and my wp-config, within which there is an external
 repository containing WordPress, then I can't do it at the moment without
 keeping local modifications.

 People have also asked for the ability to keep configs/plugins outside of
 the webroot previously.

 (I'm combining here into my argument the application of #6938 as well)

 > And doesn't this break any plugins that pull in wp-config.php.

 If they refer to it directly then yes. The fix is to replace inclusion of
 wp-config.php with wp-load.php. For the small number of people who take
 advantage of this option, that is a trivial fix, even if the plugin
 authors don't fix it themselves.

 > Surely the best solution for the enduser is to just pull in the config
 settings from another file within the stock wp-config.php instead of
 specifing them directly.

 This still requires keeping a file inside the WordPress root directory,
 which can't be kept in an a Subversion repository.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6933#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list