fitness-web/common/config/main.php

40 lines
973 B
PHP

<?php
return [
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
// 'language' => 'hu-HU',
'timezone' => 'Europe/Budapest',
'language' => 'hu',
'components' => [
'cache' => [
'class' => 'yii\caching\FileCache',
],
'i18n' => [
'translations' => [
'*' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@common/messages',
],
],
],
'formatter' => [
'class' => 'yii\i18n\Formatter',
'dateFormat' => 'yyyy.MM.dd',
'datetimeFormat' => 'yyyy.MM.dd HH:mm',
'timeFormat' => 'HH:mm',
'locale' => 'hu-Hu',
// 'timeZone' => 'Europe/Budapest',
'timeZone' => 'UTC',
// 'defaultTimeZone' => 'UTC',
'nullDisplay' => "-",
],
'authManager' => [
'class' => 'yii\rbac\DbManager'
],
'assetManager' =>[
// 'appendTimestamp' => true
]
],
];