mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix potential null issue in autoload.php
This commit is contained in:
parent
c0850865a4
commit
7643f339b9
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ Rhymix\Framework\Debug::registerErrorHandlers(error_reporting());
|
|||
/**
|
||||
* Set the internal timezone.
|
||||
*/
|
||||
$internal_timezone = Rhymix\Framework\DateTime::getTimezoneNameByOffset(config('locale.internal_timezone'));
|
||||
$internal_timezone = Rhymix\Framework\DateTime::getTimezoneNameByOffset(config('locale.internal_timezone') ?? intval(date('Z')));
|
||||
date_default_timezone_set($internal_timezone);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue