Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

Commit

Permalink
Update .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
prinsss committed Nov 7, 2017
1 parent 92c7838 commit e3a74d4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@ RewriteEngine On

RewriteBase /

RewriteRule (^\.|/\.) - [F]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^.*$ index.php [L]

# Protect .env file
<Files .env>
Order allow,deny
Deny from all
</Files>

0 comments on commit e3a74d4

Please sign in to comment.