Egorka
6 years ago
7 changed files with 116 additions and 57 deletions
@ -1,3 +1,8 @@ |
|||||||
<?php |
<?php |
||||||
return [ |
return [ |
||||||
|
'backendTranslatedLanguages' => [ |
||||||
|
'ru' => 'Русский', |
||||||
|
'en' => 'English', |
||||||
|
], |
||||||
|
'backendDefaultLanguage' => 'ru', |
||||||
]; |
]; |
||||||
|
@ -1,10 +1,13 @@ |
|||||||
<?php |
<?php |
||||||
return [ |
return [ |
||||||
'cookieValidationKey' => '', |
'cookieValidationKey' => '', |
||||||
'cookieDomain' => '.domain.local', |
'cookieDomain' => '.morework.local', |
||||||
'frontendHostInfo' => 'http://domain.local', |
'staticPath' => dirname(__DIR__, 2) . '/static', |
||||||
'backendHostInfo' => 'http://admin.domain.local', |
'frontendHostInfo' => 'http://morework.local', |
||||||
'staticHostInfo' => 'http://static.domain.local', |
'backendHostInfo' => 'http://admin.morework.local', |
||||||
'mailChimpKey' => '', |
'staticHostInfo' => 'http://static.morework.local', |
||||||
'mailChimpListId' => '', |
'supportEmail' => 'support@morework.local', |
||||||
|
'adminEmail' => 'admin@morework.local', |
||||||
|
'mailChimpKey' => '', |
||||||
|
'mailChimpListId' => '', |
||||||
]; |
]; |
||||||
|
@ -1,3 +1,8 @@ |
|||||||
<?php |
<?php |
||||||
return [ |
return [ |
||||||
|
'backendTranslatedLanguages' => [ |
||||||
|
'ru' => 'Русский', |
||||||
|
'en' => 'English', |
||||||
|
], |
||||||
|
'backendDefaultLanguage' => 'ru', |
||||||
]; |
]; |
||||||
|
@ -1,8 +1,13 @@ |
|||||||
<?php |
<?php |
||||||
return [ |
return [ |
||||||
'cookieValidationKey' => '', |
'cookieValidationKey' => '', |
||||||
'cookieDomain' => '.morework.dev', |
'cookieDomain' => '.morework.local', |
||||||
'frontendHostInfo' => 'http://morework.dev', |
'staticPath' => dirname(__DIR__, 2) . '/static', |
||||||
'backendHostInfo' => 'http://admin.morework.dev', |
'frontendHostInfo' => 'http://morework.local', |
||||||
'staticHostInfo' => 'http://static.shop.dev', |
'backendHostInfo' => 'http://admin.morework.local', |
||||||
|
'staticHostInfo' => 'http://static.morework.local', |
||||||
|
'supportEmail' => 'support@morework.local', |
||||||
|
'adminEmail' => 'admin@morework.local', |
||||||
|
'mailChimpKey' => '', |
||||||
|
'mailChimpListId' => '', |
||||||
]; |
]; |
||||||
|
@ -1,33 +1,44 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
$config = [ |
$config = [ |
||||||
'components' => [ |
'components' => [ |
||||||
'authClientCollection' => [ |
'view' => [ |
||||||
'class' => 'yii\authclient\Collection', |
'theme' => [ |
||||||
'clients' => [ |
'basePath' => '@webroot/themes/sport', |
||||||
'yandex' => [ |
'baseUrl' => '@web/themes/sport', |
||||||
'class' => 'yii\authclient\clients\Yandex', |
'pathMap' => [ |
||||||
'clientId' => '', |
'@frontend/views' => '@webroot/themes/sport', |
||||||
'clientSecret' => '', |
'@frontend/widgets' => '@webroot/themes/sport/widgets', |
||||||
], |
], |
||||||
'google' => [ |
], |
||||||
'class' => 'yii\authclient\clients\Google', |
], |
||||||
'clientId' => '', |
|
||||||
'clientSecret' => '', |
'authClientCollection' => [ |
||||||
], |
'class' => 'yii\authclient\Collection', |
||||||
'facebook' => [ |
'clients' => [ |
||||||
'class' => 'yii\authclient\clients\Facebook', |
'yandex' => [ |
||||||
'clientId' => '', |
'class' => 'yii\authclient\clients\Yandex', |
||||||
'clientSecret' => '', |
'clientId' => '', |
||||||
], |
'clientSecret' => '', |
||||||
'vk' => [ |
], |
||||||
'class' => 'yii\authclient\clients\VKontakte', |
'google' => [ |
||||||
'clientId' => '', |
'class' => 'yii\authclient\clients\Google', |
||||||
'clientSecret' => '', |
'clientId' => '', |
||||||
], |
'clientSecret' => '', |
||||||
], |
], |
||||||
] |
'facebook' => [ |
||||||
], |
'class' => 'yii\authclient\clients\Facebook', |
||||||
|
'clientId' => '', |
||||||
|
'clientSecret' => '', |
||||||
|
], |
||||||
|
'vk' => [ |
||||||
|
'class' => 'yii\authclient\clients\VKontakte', |
||||||
|
'clientId' => '', |
||||||
|
'clientSecret' => '', |
||||||
|
], |
||||||
|
], |
||||||
|
] |
||||||
|
], |
||||||
]; |
]; |
||||||
|
|
||||||
return $config; |
return $config; |
||||||
|
Loading…
Reference in new issue