Soft fix to prevent directory listing

This commit is contained in:
Thilina
2021-06-27 16:48:38 +02:00
parent 3eaf290a58
commit 2ca9eaa083
3 changed files with 5 additions and 0 deletions

2
.gitignore vendored
View File

@@ -13,6 +13,8 @@ keys.dev.pub
/app/icehrm.key
/app/data/*.*
/app/data/keys/*
!/app/data/index.php
!/app/data/.htaccess
icehrm.key
cache.properties
node_modules/*

2
app/data/.htaccess Normal file
View File

@@ -0,0 +1,2 @@
order deny,allow
deny from all

1
app/data/index.php Normal file
View File

@@ -0,0 +1 @@
<?php