hassankhan / config

Config is a lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files
MIT License
972 stars 136 forks source link

Add support for .dist extensions files #71

Closed tomzx closed 8 years ago

tomzx commented 8 years ago

In the documentation, dist files are listed as config.dist.json, config.dist.xml or config.dist.yml or so. However, many popular projects such as Symfony and PHPUnit use the file.dist extension to identify their redistributable configuration files.

This little change should allow us to support such files while at the same time still support all the previous files it supported.

hassankhan commented 8 years ago

Thanks very much!!

tomzx commented 8 years ago

Looking forward for a new tagged release!

hassankhan commented 8 years ago

Done! :smile:

tomzx commented 8 years ago

Awesome :+1: