Merge pull request #13 from meonkeys/master

setlocale() call issues PHP Warning on CentOS 6.4, PHP 5.4.13