aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-09-19 13:46:47 +0200
committersteckbrief <steckbrief@chefmail.de>2016-09-19 13:46:47 +0200
commit2d096355000379eef8f18ab1b3a124ceceefcc72 (patch)
tree7641828cc144c17b38f8538d7963bfbefc45ece0
parent8bd12356c6dc395b7c82f909e7c62b9431657002 (diff)
Protect new directories via .htaccess instead of index.htm
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index ebaf6135e..10a93cb8d 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -111,7 +111,7 @@ define('MKGETDIR_PROTECT_INDEX', 4);
/** sets mkgetdir() add a .htaccess file*/
define('MKGETDIR_PROTECT_HTACCESS', 8);
/** default options for mkgetdir() = MKGETDIR_RECURSIVE | MKGETDIR_DIE_ON_ERROR | MKGETDIR_PROTECT_INDEX */
-define('MKGETDIR_DEFAULT', MKGETDIR_RECURSIVE | MKGETDIR_DIE_ON_ERROR | MKGETDIR_PROTECT_INDEX);
+define('MKGETDIR_DEFAULT', MKGETDIR_RECURSIVE | MKGETDIR_DIE_ON_ERROR | MKGETDIR_PROTECT_HTACCESS);
/**
* creates directory if not exists and ensures that directory is writable