BlockIo / block_io-php

PHP library for Block.io
MIT License
56 stars 139 forks source link

Use .pem file if on windows #4

Closed inquam closed 9 years ago

inquam commented 10 years ago

Instruct curl to use the needed .pem file if we are running on windows. The code checks for the .pem file in the same location as the BlockIo class file and if it's not found an exception will be thrown with ionformation about downloading the .pem file and where to palce it.

This gets rid of the need to alter php configuration files in order to get the library working on windows.

patricklodder commented 10 years ago

Thanks for this! I'll test this later today and will get back to you.

inquam commented 10 years ago

No problem, happy to assist

doersf commented 9 years ago

Thanks @inquam