Fix reference to old config key (#1004)

This commit is contained in:
Belle Aerni authored and GitHub committed 2023-03-28 08:31:54 +03:00
1 parent 9bc5e06e95
commit 94ada496f3
1 file changed
+1 -1
+1 -1
View File
@@ -314,7 +314,7 @@ if (file_exists($configPath) && 0 !== filesize($configPath) && file_exists(PATH_
$config = require $configPath;
require PATH_VENDOR . '/autoload.php';
date_default_timezone_set($config['timezone']);
date_default_timezone_set($config['i18n']['timezone'] ?? 'UTC');
define('BB_DEBUG', $config['debug']);
define('BB_URL', $config['url']);