softius / php-cross-domain-proxy

PHP Proxy for Cross Domain Requests
GNU General Public License v3.0
269 stars 141 forks source link

Externalize configuration #21

Closed motofix closed 6 years ago

motofix commented 8 years ago

In order to keep configuration details outside of the code, I needed to set up an external configuration which overrides definitions in the main php file.

In this configuration, I needed to reference a URL to proxy using a key, making it easier to use on client side.

I've developed this little enhancement, I'll propose a PR if you think it would be a good idea to integrate it in the main project.

motofix commented 8 years ago

PR raised : https://github.com/softius/php-cross-domain-proxy/pull/22