4 changed files with 42 additions and 42 deletions
			
			
		| @ -1,25 +1,25 @@ | ||||
| <?php | ||||
| $params = require(__DIR__ . '/params.php'); | ||||
| return array( | ||||
| return [ | ||||
| 	'id' => 'bootstrap-console', | ||||
| 	'basePath' => dirname(__DIR__), | ||||
| 	'preload' => array('log'), | ||||
| 	'controllerPath' => dirname(__DIR__) . '/commands', | ||||
| 	'controllerNamespace' => 'app\commands', | ||||
| 	'modules' => array( | ||||
| 	), | ||||
| 	'components' => array( | ||||
| 		'cache' => array( | ||||
| 	'modules' => [ | ||||
| 	], | ||||
| 	'components' => [ | ||||
| 		'cache' => [ | ||||
| 			'class' => 'yii\caching\FileCache', | ||||
| 		), | ||||
| 		'log' => array( | ||||
| 			'targets' => array( | ||||
| 				array( | ||||
| 		], | ||||
| 		'log' => [ | ||||
| 			'targets' => [ | ||||
| 				[ | ||||
| 					'class' => 'yii\log\FileTarget', | ||||
| 					'levels' => array('error', 'warning'), | ||||
| 				), | ||||
| 			), | ||||
| 		), | ||||
| 	), | ||||
| 					'levels' => ['error', 'warning'], | ||||
| 				], | ||||
| 			], | ||||
| 		], | ||||
| 	], | ||||
| 	'params' => $params, | ||||
| ); | ||||
| ]; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| <?php | ||||
| 
 | ||||
| return array( | ||||
| return [ | ||||
| 	'adminEmail' => 'admin@example.com', | ||||
| ); | ||||
| ]; | ||||
|  | ||||
					Loading…
					
					
				
		Reference in new issue