[wp-trac] [WordPress Trac] #12988: Modify wp-load.php to search for wp-config.php 2 directories higher
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 13 22:06:49 UTC 2010
#12988: Modify wp-load.php to search for wp-config.php 2 directories higher
--------------------------------+-------------------------------------------
Reporter: chipbennett | Owner: ryan
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Security | Version:
Severity: normal | Resolution: wontfix
Keywords: wp-load, wp-config |
--------------------------------+-------------------------------------------
Comment(by westi):
The whole search a folder up feature was introduced for a specific use
case - subversion managed installs where wordpress itself is an external.
If you were to want to place wp-config.php any higher than one directory
you can easily do this by putting a dummy one in the normal place which
includes the one you have stored elsewhere.
The only real benifit moving it out of public_html has is if the server
stops processing php files otherwise you have no real benifit - you still
need to have the file permissions correct and be on a host which stops
people looking at each others files securely.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12988#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list