Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- return [
- 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
- 'components' => [
- 'cache' => [
- 'class' => \common\components\Memcached\Memcached::class,
- 'servers' => [
- [
- 'host' => 'localhost',
- 'port' => 11211,
- 'weight' => 60
- ],
- ],
- ],
- 'fileCache' => [
- 'class' => 'yii\caching\FileCache',
- ],
- 'dbCache' => [
- 'class' => \common\components\DbCache\DbCache::class,
- 'cacheTable' => 'db_cache'
- ],
- 'googleApi' => [
- 'class' => 'common\components\GoogleAnalyticsAPI',
- 'appName' => 'Bookimed Dashboard API Project',
- 'ids' => 'ga:88469266', //Идентификатор проекта Bookimed UA-52761017-1) = ID определенного VIEW!!!!!
- 'servAccCredJson' => '@common/config/certificates/Bookimed-Google-API-Service-Account-Credentials.json',
- ],
- 'binotel' => [
- 'class' => \common\components\binotel\Binotel::className(),
- 'key' => '843a9d-d6f3ed0',
- 'secret' => 'ce3419-400ab7-2aee85-f3fa81-9da9fc05'
- ],
- 'languageSelector' => [
- 'class' => 'common\components\LanguageSelector',
- ],
- 'db' => [
- 'class' => 'yii\db\Connection',
- 'dsn' => 'mysql:host=localhost;dbname=bookimed',
- 'username' => 'root',
- 'password' => 'Bookimed499493686$',//'Bookimed1481793103',
- 'charset' => 'utf8',
- 'enableSchemaCache' => true,
- 'schemaCache' => 'cache',
- 'schemaCacheDuration' => 3600,
- ],
- 'mailer' =>[
- 'class' => 'common\components\mailer\EsputnikMailer',
- 'api_login' => 'o.v.bobkova@gmail.com',
- 'api_password' => 'e>600aJ00d',
- ],
- 'sms' =>[
- 'class' => 'common\components\sms\SmscService',
- 'api_login' => 'Bookimed',
- 'api_password' => 'qQzTFAva3Rs6sRd5',
- ],
- 'seo' => 'common\components\seo\SeoManager',
- 'dataroot' => 'common\components\dataroot\DatarootApi',
- 'frontendUrlManager' => 'frontend\components\UrlManager',
- 'formatter' => 'common\components\Formatter',
- 'cloudflare' => [
- 'class' => 'common\components\cloudflare\CloudflareApi',
- 'authkey' => 'aad658c4ebf22f9db4d46c218ccd807fbe178',
- 'authemail' => 'pm@bookimed.com',
- 'sites' => [
- 'bookimed.com',
- ],
- ],
- 'newrelic' => [
- 'class' => 'bazilio\yii\newrelic\Newrelic',
- 'name' => 'Bookimed Yii Admin', // optional, uses Yii::$app->name by default
- //'handler' => 'class/name', // optional, your custom handler
- 'licence' => '265ea947e300d68c77c7da799496869cf4e5ec97', // optional
- 'enabled' => true // optional, default = true
- ],
- ],
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement