mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Move cacert.pem loader to autoload.php
This commit is contained in:
parent
9cb1e3e3fc
commit
60fd7d7cf2
2 changed files with 6 additions and 4 deletions
|
|
@ -194,6 +194,12 @@ Rhymix\Framework\Debug::registerErrorHandlers(error_reporting());
|
|||
$internal_timezone = Rhymix\Framework\DateTime::getTimezoneNameByOffset(config('locale.internal_timezone'));
|
||||
date_default_timezone_set($internal_timezone);
|
||||
|
||||
/**
|
||||
* Set certificate authorities for curl and openssl.
|
||||
*/
|
||||
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');
|
||||
|
||||
/**
|
||||
* Initialize the cache handler.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue