From 2d096355000379eef8f18ab1b3a124ceceefcc72 Mon Sep 17 00:00:00 2001 From: steckbrief Date: Mon, 19 Sep 2016 13:46:47 +0200 Subject: Protect new directories via .htaccess instead of index.htm --- include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3