aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-09 11:58:28 +0200
committerVincent Petry <pvince81@owncloud.com>2016-06-09 11:58:28 +0200
commit90c1ec1c49798232c0c1303ccbddacac536b5768 (patch)
treec7541d23b30327be5d911f4a8701b4c241483bf3 /settings
parent826e276a79c29314e4d8dc243031bf6cd718acdc (diff)
parentfb087a026167d0c0db4af9634657a52dfaf011de (diff)
downloadnextcloud-server-90c1ec1c49798232c0c1303ccbddacac536b5768.tar.gz
nextcloud-server-90c1ec1c49798232c0c1303ccbddacac536b5768.zip
Merge pull request #25014 from owncloud/admin-datadircheck-fix
Use temporary htaccesstest.txt for data dir security check
Diffstat (limited to 'settings')
-rw-r--r--settings/admin.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php
index 6fb65b013e6..3ae7455b2ea 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -267,3 +267,7 @@ if ($updaterAppPanel) {
$template->assign('forms', $formsAndMore);
$template->printPage();
+
+$util = new \OC_Util();
+$util->createHtaccessTestFile(\OC::$server->getConfig());
+