mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
Add Cache class and CacheInterface for drivers
This commit is contained in:
parent
30fbf83659
commit
6d5480ecfb
3 changed files with 365 additions and 0 deletions
|
|
@ -202,3 +202,8 @@ Rhymix\Framework\Debug::registerErrorHandlers(error_reporting());
|
|||
*/
|
||||
$internal_timezone = Rhymix\Framework\DateTime::getTimezoneNameByOffset(config('locale.internal_timezone'));
|
||||
date_default_timezone_set($internal_timezone);
|
||||
|
||||
/**
|
||||
* Initialize the cache handler.
|
||||
*/
|
||||
Rhymix\Framework\Cache::init(Rhymix\Framework\Config::get('cache'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue