X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/cce156e037cf0e04db479c4eea768c0a933ae4b2..50b546739d6ba90d12b21700dcd02cebc07f0b7f:/libexec/new.sh diff --git a/libexec/new.sh b/libexec/new.sh index 012c3cb..2064c89 100755 --- a/libexec/new.sh +++ b/libexec/new.sh @@ -20,7 +20,7 @@ set -e usage() { cat < +usage: drin $(basename "$0" .sh) [-h|--help] Create a new Drupal project in the 'destdir' directory. @@ -116,6 +116,17 @@ EOF echo echo "Uncomment and customize the values in the bootstrap.conf file." -echo "Make sure that access to '$PWD' is restricted by the web server." + +# Add some basic access control to protect sensitive files like bootstrap.conf +cat > .htaccess <