Fixed Cert Path

This commit is contained in:
Lucas Bartholemy 2015-07-01 05:11:12 +02:00
parent 5172687d4a
commit e511ffdf06
2 changed files with 2 additions and 1 deletions

1
protected/config/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/dynamic.php

View File

@ -254,7 +254,7 @@ class OnlineModuleManager
CURLOPT_SSL_VERIFYHOST => (Yii::$app->getModule('admin')->marketplaceApiValidateSsl) ? 2 : 0,
CURLOPT_REDIR_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS,
CURLOPT_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS,
CURLOPT_CAINFO => Yii::$app->getBasePath() . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'cacert.pem'
CURLOPT_CAINFO => Yii::getAlias('@humhub/config/cacert.pem')
);