Advertisement
Guest User

Untitled

a guest
Dec 19th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. <?php
  2. /**
  3. * Local Configuration Override
  4. *
  5. * This configuration override file is for overriding environment-specific and
  6. * security-sensitive configuration information. Copy this file without the
  7. * .dist extension at the end and populate values as needed.
  8. *
  9. * @NOTE: This file is ignored from Git by default with the .gitignore included
  10. * in ZendSkeletonApplication. This is a good practice, as it prevents sensitive
  11. * credentials from accidentally being committed into version control.
  12. */
  13.  
  14. return [
  15. 'services_base_urls' => [
  16. 'sark' => 'http://sark.gpb.local/',
  17. 'hub' => 'http://hub.gpb.local/',
  18. 'itemsdictionary' => "http://itemsdictionary.ru/"
  19. ],
  20. 'host' => [
  21. 'name' => 'http://hub.gpb.local',
  22. ],
  23. 'db' => [
  24. 'driver' => 'PDO',
  25. 'dsn' => 'pgsql:host=localhost;port=5432;dbname=hub;user=hub;password=hub',
  26. ],
  27. 'service_manager' => [
  28. 'factories' => [
  29. 'Zend\Db\Adapter\Adapter' => 'Zend\Db\Adapter\AdapterServiceFactory',
  30. ],
  31. ],
  32. 'statuslib' => [
  33. 'array_mapper_path' => 'data/wrapperLog.php',
  34. ],
  35. 'zf-oauth2' => [
  36. 'db' => [
  37. 'dsn' => 'pgsql:host=db;port=5432;dbname=hub;user=hub',
  38. 'username' => 'hub',
  39. 'password' => 'hub'
  40. ]
  41. ],
  42. 'zf-mvc-auth' => [
  43. 'authentication' => [
  44. 'adapters' => [
  45. 'oauth2' => [
  46. 'adapter' => 'ZF\\MvcAuth\\Authentication\\OAuth2Adapter',
  47. 'storage' => [
  48. 'storage' => \Application\Service\Auth\PdoStorageAdapter::class,
  49. 'route' => '/oauth',
  50. ],
  51. ],
  52. ],
  53. ],
  54. ],
  55. 'access_cookie_settings' => [
  56. 'domain' => 'gpb.local',
  57. 'expires_in' => 3600,
  58. 'path' => '/',
  59. 'secure' => true,
  60. 'httponly' => true,
  61. ],
  62. 'sso_token_keys' => [
  63. 'key' => 'skdfjalsdjfajoiwu5466asdfgaoiutg564566990285790',
  64. 'token_key' => '35464sfgjahvgghlqhj230u_()^*(&^ma;lsdl;ja456sdfa4'
  65. ]
  66. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement