Skip to content

Commit

Permalink
The upstream project creation tool no longer creates services.yml, do…
Browse files Browse the repository at this point in the history
…n't try and update permissions on it. (#33)
  • Loading branch information
singularo authored and pingers committed Jun 4, 2018
1 parent 1976268 commit dcea83d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ public function modifySettingsFile()
" // Glob the secret path for secrets, that match pattern \n" .
" foreach( glob( rtrim(getenv('UA_MW_SECRET_PATH'),DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . 'UA_MW_*') as \$secret) {\n" .
" \$settings['ua_middleware_service'][pathinfo(\$secret)['filename']] = file_get_contents(\$secret);\n" .
" }\n" .
"}\n" .
" }\n" .
"}\n" .
"/**\n * END SHEPHERD CONFIG\n */\n" .
"\n" .
"/**\n * START LOCAL CONFIG\n */\n" .
Expand All @@ -187,7 +187,6 @@ public function modifySettingsFile()
public function removeWritePermissions()
{
$root = $this->getDrupalRootPath();
$this->filesystem->chmod($root . '/sites/default/services.yml', 0444);
$this->filesystem->chmod($root . '/sites/default/settings.php', 0444);
$this->filesystem->chmod($root . '/sites/default', 0555);
}
Expand Down

0 comments on commit dcea83d

Please sign in to comment.