mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Use compoer/ca-bundle instead of using our own cacert.pem
This commit is contained in:
parent
e86894c697
commit
07c809a9ef
3 changed files with 3 additions and 3157 deletions
|
|
@ -290,8 +290,8 @@ class Context
|
|||
}
|
||||
|
||||
// Load certificate authorities for curl and openssl.
|
||||
ini_set('curl.cainfo', RX_BASEDIR . 'common/libraries/cacert.pem');
|
||||
ini_set('openssl.cafile', RX_BASEDIR . 'common/libraries/cacert.pem');
|
||||
ini_set('curl.cainfo', RX_BASEDIR . 'vendor/composer/ca-bundle/res/cacert.pem');
|
||||
ini_set('openssl.cafile', RX_BASEDIR . 'vendor/composer/ca-bundle/res/cacert.pem');
|
||||
|
||||
// Load language support.
|
||||
$enabled_langs = self::loadLangSelected();
|
||||
|
|
|
|||
|
|
@ -287,7 +287,7 @@ class FileHandler
|
|||
$request_headers = array();
|
||||
$request_cookies = array();
|
||||
$request_options = array(
|
||||
'verify' => \RX_BASEDIR . 'common/libraries/cacert.pem',
|
||||
'verify' => \RX_BASEDIR . 'vendor/composer/ca-bundle/res/cacert.pem',
|
||||
'timeout' => $timeout,
|
||||
);
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue