[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 22 17:21:09 GMT 2008
#6933: Allow wp-config.php to exist one level up from WordPress root directory
-------------------------+--------------------------------------------------
Reporter: sambauers | Owner: anonymous
Type: enhancement | Status: reopened
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+--------------------------------------------------
Changes (by ryan):
* status: closed => reopened
* resolution: fixed =>
Comment:
{{{
PHP Notice: Constant ABSPATH already defined in
/Applications/MAMP/htdocs/trunk/wp-config.php on line 25
}}}
There's not much we can do with existing wp-config.php files, but wp-
config-sample.php should have the ABSPATH define removed. Let's also
consider removing the require_once of wp-settings.php out of the sample
config and into wp-load.php. Since require_once is used, the double
include that would be caused by the old wp-config.php files shouldn't
hurt.
--
Ticket URL: <http://trac.wordpress.org/ticket/6933#comment:14>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list