Behalte den Ordner Templates

This commit is contained in:
Dennis Heinrich 2024-05-07 17:51:52 +02:00
parent b741f86f0a
commit d71d27cf96
3 changed files with 20 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,7 +1,7 @@
# Ignore all changes except for non-default plugins and templates
/shop/*
!/shop/plugins
!/shop/templates/*
!/shop/templates
/shop/templates/NOVA
# Include the DDEV configuration

0
shop/templates/.gitkeep Normal file
View file

19
shop/templates/.htaccess Normal file
View file

@ -0,0 +1,19 @@
<Files *.tpl>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from all
</IfModule>
</Files>
<Files *.php>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from all
</IfModule>
</Files>