[wp-trac] Re: [WordPress Trac] #3349: wp-config pickup consistency
fixes
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 14 06:15:16 GMT 2006
#3349: wp-config pickup consistency fixes
--------------------------+-------------------------------------------------
Reporter: RuddO | Owner: markjaquith
Type: enhancement | Status: assigned
Priority: normal | Milestone: 2.1
Component: Optimization | Version: 2.0.5
Severity: normal | Resolution:
Keywords: 2nd-opinion |
--------------------------+-------------------------------------------------
Comment (by RuddO):
foolswisdom: I based the ./ on the fact that some WP files already used
it. it seems to work fine, whereas under some (admittedly not common, but
possible) conditions, the famed dirname(__FILE__) fails.
this patch does not introduce any usage of getcwd(). Only my FireStats
patch (mailed to the author) did. As you say, getcwd() is not reliable,
but it was the only way I could get FireStats to work, and the getcwd()
mod went only into FireStats.
--
Ticket URL: <http://trac.wordpress.org/ticket/3349#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list