[wp-hackers] setting ABSPATH...?

Stephen Rider wp-hackers at striderweb.com
Tue Sep 23 00:46:47 GMT 2008


Okay, I notice that wp-config.php file has a conditional that sets  
ABSPATH if it is not already set.  Since ABSPATH gets set in wp- 
load.php, under what circumstances is it ever set in wp-config?

Part of why I ask is that, as of WP 2.6, wp-config.php might be one  
directory up.  If ABSPATH is set there, it will be wrong, won't it?

Can that line be safely removed from wp-config.php, or is it genuinely  
necessary?

Stephen

-- 
Stephen Rider
<http://striderweb.com/>





More information about the wp-hackers mailing list