Skip to content

Commit

Permalink
Consistent settings.php permissions. (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored and grasmash committed Sep 29, 2016
1 parent 47d9c6c commit 26ed51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phing/tasks/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
</then>
</if>
<echo>Making ${docroot}/sites/default/settings.php writable.</echo>
<chmod mode="0755" failonerror="false" file="${docroot}/sites/default/settings.php"/>
<chmod mode="0644" failonerror="false" file="${docroot}/sites/default/settings.php"/>
<echo>Ensuring that blt.settings.php is required by settings.php</echo>
<exec dir="${docroot}/sites/default" command="grep vendor/acquia/blt/settings/blt.settings.php settings.php || echo 'require DRUPAL_ROOT . &quot;/../vendor/acquia/blt/settings/blt.settings.php&quot;;' >> settings.php" logoutput="true" checkreturn="true" level="info"/>

Expand Down

0 comments on commit 26ed51e

Please sign in to comment.