Skip to content

Commit

Permalink
.htaccess: Ensure adequate file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mcsf committed Dec 12, 2024
1 parent 50287ae commit 0e2b031
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/env/lib/wordpress.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ echo 'RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]'
echo 'RewriteRule . index.php [L]'
)`
);

setupCommands.push( 'chmod 0644 /var/www/html/.htaccess' );
}

// WordPress versions below 5.1 didn't use proper spacing in wp-config.
Expand Down

0 comments on commit 0e2b031

Please sign in to comment.