|
- <?php
- return [
- 'id' => 'app-zzcx',
- 'basePath' => dirname(__DIR__),
- 'controllerNamespace' => 'zzcx\controllers',
- 'bootstrap' => ['log'],
- 'modules' => [],
- 'components' => [
- 'request' => [
- 'csrfParam' => '_csrf-zzcx',
- 'cookieValidationKey' => 'zzcxxloosdkklsdfdslfdk',
- 'enableCsrfValidation' => false,
- ],
- 'session' => [
- 'name' => 'advanced-zzcx',
- ],
- 'log' => [
- 'traceLevel' => YII_DEBUG ? 3 : 0,
- 'targets' => [
- [
- 'class' => 'yii\log\FileTarget',
- 'levels' => ['error', 'warning'],
- ],
- ],
- ],
- 'errorHandler' => [
- 'errorAction' => 'base/base/error',
- ],
- ]
- ];
|