latrell / Alipay

支付宝SDK在Laravel5的封装。
408 stars 92 forks source link

Incorrect path for the cacert.pem on Unix #13

Open vlatkorun opened 8 years ago

vlatkorun commented 8 years ago

In the current constructor method the path to the cacert.pem is giving CURL error on Unix: $this->cacert = getcwd() . '\\cacert.pem

This should be: $this->cacert = getcwd() . '/cacert.pem

Can you add a setter method for this file?

latrell commented 8 years ago

I do a little modification: https://github.com/latrell/Alipay/commit/7c26ff347ca3925901a5ef48275376b8045f28d1