dxw / whippet-server

Whippet Server launches a stand-alone web server for a specific WordPress installation. It makes WordPress easier to develop with, for example, by adding lots of debug information to the terminal without cluttering up or breaking your templates.
ISC License
80 stars 6 forks source link

Hide the injected wp-config code from other tools or servers. #67

Closed aaam closed 8 years ago

aaam commented 8 years ago

Whippet can wrap the WordPress instance in any circumstances, without interfering other tools or servers, that rely on the original wp-config.php code. Whippet-server defines a few constants before the WP code embraced and subsequently configuration codes injected into wp-config.php. WPS_LOCATION has been chosen to distinguish the different environments.

dgmstuart commented 8 years ago

I'm afraid I didn't understand your explanation.

Could you please try and explain the problem that this PR is attempting to fix, and the approach to doing so.