summaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-07 18:23:19 +0200
committerVincent Petry <pvince81@owncloud.com>2016-06-07 18:36:13 +0200
commitfb087a026167d0c0db4af9634657a52dfaf011de (patch)
treed8687620c34a5d07bffa3f3e6db144c2dfb39cad /settings/admin.php
parentbf917d7063ed9328a8d367343ac2a6574917ddfb (diff)
downloadnextcloud-server-fb087a026167d0c0db4af9634657a52dfaf011de.tar.gz
nextcloud-server-fb087a026167d0c0db4af9634657a52dfaf011de.zip
Use temporary htaccesstest.txt for data dir security check
Diffstat (limited to 'settings/admin.php')
-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());
+