Soft fix to prevent directory listing
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -13,6 +13,8 @@ keys.dev.pub
|
|||||||
/app/icehrm.key
|
/app/icehrm.key
|
||||||
/app/data/*.*
|
/app/data/*.*
|
||||||
/app/data/keys/*
|
/app/data/keys/*
|
||||||
|
!/app/data/index.php
|
||||||
|
!/app/data/.htaccess
|
||||||
icehrm.key
|
icehrm.key
|
||||||
cache.properties
|
cache.properties
|
||||||
node_modules/*
|
node_modules/*
|
||||||
|
|||||||
2
app/data/.htaccess
Normal file
2
app/data/.htaccess
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
order deny,allow
|
||||||
|
deny from all
|
||||||
1
app/data/index.php
Normal file
1
app/data/index.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
Reference in New Issue
Block a user