mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +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
|
|
@ -289,10 +289,6 @@ class Context
|
|||
exit;
|
||||
}
|
||||
|
||||
// Load 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');
|
||||
|
||||
// Load language support.
|
||||
$enabled_langs = self::loadLangSelected();
|
||||
$set_lang_cookie = false;
|
||||
|
|
|
|||
|
|
@ -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