Remove WP_DIR
Add WP_HOME and WP_SITEURL setting.
Fixed a bug when it is installed in a subdirectory.
roll back some updates
add wp_home and wp_siteurl support
some fix