diff --git a/.htaccess b/.htaccess index 94bc389..0653230 100644 --- a/.htaccess +++ b/.htaccess @@ -8,3 +8,6 @@ RewriteRule ^([^/]+)/?$ /index.php?m=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/]+)/([^/]+)/?$ index.php?m=$1&t=$2 [L] + +# Hide .git on webserver +RedirectMatch 404 /\.git