683132 Parse the APP_URL to replace the domain name by `localhost`

Authored and Committed by Pierre-Yves Chibon 9 years ago
    Parse the APP_URL to replace the domain name by `localhost`