[wp-hackers] find wp-config from a plugin file
Dan Coulter
dan at dancoulter.com
Tue Jan 29 14:51:08 GMT 2008
On Jan 29, 2008 7:46 AM, Jacob Santos <wordpress at santosj.name> wrote:
> I think all of these are reasons why 'ABSPATH' exists.
>
ABSPATH doesn't exist until you include wp-config.php. In the plugins I've
recently developed with ajax calls, I used the '../../../wp-config.php'
method and I haven't had any complaints with it.
--
Dan Coulter
http://www.dancoulter.com/
http://www.phpflickr.com/
It is time - http://e-hobo.com/
Hey, I got nothing to do today but smile
-Simon and Garfunkel
More information about the wp-hackers
mailing list