Skip to content

Commit

Permalink
Add support for ua_middleware service. (#31)
Browse files Browse the repository at this point in the history
* Add support for ua_middleware service.

* Remove spaces at end of line and file typo with auth_file env.

* More spaces to fix

* Opt for just one file for auth.
  • Loading branch information
bart88 authored May 15, 2018
1 parent 0eff35f commit f81489d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ public function modifySettingsFile()
" \$settings['container_yamls'][] = 'modules/contrib/redis/example.services.yml';\n" .
" }\n" .
"}\n" .
"\$settings['ua_middleware_service'] = array(\n" .
" 'auth' => getenv('UA_MIDDLEWARE_AUTH_FILE') ? file_get_contents(getenv('UA_MIDDLEWARE_AUTH_FILE')) : getenv('UA_MIDDLEWARE_AUTH'),\n" .
");\n" .
"/**\n * END SHEPHERD CONFIG\n */\n" .
"\n" .
"/**\n * START LOCAL CONFIG\n */\n" .
Expand Down

0 comments on commit f81489d

Please sign in to comment.