Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. <?php
  2. return [
  3. 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
  4. 'components' => [
  5. 'cache' => [
  6. 'class' => \common\components\Memcached\Memcached::class,
  7. 'servers' => [
  8. [
  9. 'host' => 'localhost',
  10. 'port' => 11211,
  11. 'weight' => 60
  12. ],
  13. ],
  14. ],
  15. 'fileCache' => [
  16. 'class' => 'yii\caching\FileCache',
  17. ],
  18. 'dbCache' => [
  19. 'class' => \common\components\DbCache\DbCache::class,
  20. 'cacheTable' => 'db_cache'
  21. ],
  22. 'googleApi' => [
  23. 'class' => 'common\components\GoogleAnalyticsAPI',
  24. 'appName' => 'Bookimed Dashboard API Project',
  25. 'ids' => 'ga:88469266', //Идентификатор проекта Bookimed UA-52761017-1) = ID определенного VIEW!!!!!
  26. 'servAccCredJson' => '@common/config/certificates/Bookimed-Google-API-Service-Account-Credentials.json',
  27. ],
  28. 'binotel' => [
  29. 'class' => \common\components\binotel\Binotel::className(),
  30. 'key' => '843a9d-d6f3ed0',
  31. 'secret' => 'ce3419-400ab7-2aee85-f3fa81-9da9fc05'
  32. ],
  33. 'languageSelector' => [
  34. 'class' => 'common\components\LanguageSelector',
  35. ],
  36. 'db' => [
  37. 'class' => 'yii\db\Connection',
  38. 'dsn' => 'mysql:host=localhost;dbname=bookimed',
  39. 'username' => 'root',
  40. 'password' => 'Bookimed499493686$',//'Bookimed1481793103',
  41. 'charset' => 'utf8',
  42. 'enableSchemaCache' => true,
  43. 'schemaCache' => 'cache',
  44. 'schemaCacheDuration' => 3600,
  45. ],
  46. 'mailer' =>[
  47. 'class' => 'common\components\mailer\EsputnikMailer',
  48. 'api_login' => 'o.v.bobkova@gmail.com',
  49. 'api_password' => 'e>600aJ00d',
  50. ],
  51. 'sms' =>[
  52. 'class' => 'common\components\sms\SmscService',
  53. 'api_login' => 'Bookimed',
  54. 'api_password' => 'qQzTFAva3Rs6sRd5',
  55. ],
  56. 'seo' => 'common\components\seo\SeoManager',
  57. 'dataroot' => 'common\components\dataroot\DatarootApi',
  58. 'frontendUrlManager' => 'frontend\components\UrlManager',
  59. 'formatter' => 'common\components\Formatter',
  60. 'cloudflare' => [
  61. 'class' => 'common\components\cloudflare\CloudflareApi',
  62. 'authkey' => 'aad658c4ebf22f9db4d46c218ccd807fbe178',
  63. 'authemail' => 'pm@bookimed.com',
  64. 'sites' => [
  65. 'bookimed.com',
  66. ],
  67. ],
  68. 'newrelic' => [
  69. 'class' => 'bazilio\yii\newrelic\Newrelic',
  70. 'name' => 'Bookimed Yii Admin', // optional, uses Yii::$app->name by default
  71. //'handler' => 'class/name', // optional, your custom handler
  72. 'licence' => '265ea947e300d68c77c7da799496869cf4e5ec97', // optional
  73. 'enabled' => true // optional, default = true
  74. ],
  75. ],
  76. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement