|  |  |  | <?php
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Yii::setAlias('common', realpath(__DIR__ . '/../'));
 | 
					
						
							|  |  |  | Yii::setAlias('frontend', realpath(__DIR__ . '/../../frontend'));
 | 
					
						
							|  |  |  | Yii::setAlias('backend', realpath(__DIR__ . '/../../backend'));
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | return [
 | 
					
						
							|  |  |  | 	'adminEmail' => 'admin@example.com',
 | 
					
						
							|  |  |  | 	'supportEmail' => 'support@example.com',
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	'components.cache' => [
 | 
					
						
							|  |  |  | 		'class' => 'yii\caching\FileCache',
 | 
					
						
							|  |  |  | 	],
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	'components.mail' => [
 | 
					
						
							|  |  |  | 		'class' => 'yii\swiftmailer\Mailer',
 | 
					
						
							|  |  |  | 	],
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	'components.db' => [
 | 
					
						
							|  |  |  | 		'class' => 'yii\db\Connection',
 | 
					
						
							|  |  |  | 		'dsn' => 'mysql:host=localhost;dbname=yii2advanced',
 | 
					
						
							|  |  |  | 		'username' => 'root',
 | 
					
						
							|  |  |  | 		'password' => '',
 | 
					
						
							|  |  |  | 		'charset' => 'utf8',
 | 
					
						
							|  |  |  | 	],
 | 
					
						
							|  |  |  | ];
 |