summaryrefslogtreecommitdiffstats
path: root/settings/ajax/checksetup.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-12-06 15:34:53 +0100
committerLukas Reschke <lukas@owncloud.com>2014-12-06 15:34:53 +0100
commit2b762271808598f69927a3d279ad24402a34f54e (patch)
tree6b63003c5b6fab89199dd29e8571226d46e08d7b /settings/ajax/checksetup.php
parent94eb2e782fa164492dd2665e6651eaa7068039aa (diff)
downloadnextcloud-server-2b762271808598f69927a3d279ad24402a34f54e.tar.gz
nextcloud-server-2b762271808598f69927a3d279ad24402a34f54e.zip
Check for working .htaccess via AJAX
Fixes https://github.com/owncloud/core/issues/12650
Diffstat (limited to 'settings/ajax/checksetup.php')
-rw-r--r--settings/ajax/checksetup.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/settings/ajax/checksetup.php b/settings/ajax/checksetup.php
index 6bf5bc5642e..64718933317 100644
--- a/settings/ajax/checksetup.php
+++ b/settings/ajax/checksetup.php
@@ -17,7 +17,8 @@ if (OC_Util::isInternetConnectionEnabled()) {
}
OCP\JSON::success(
- array(
- 'serverhasinternetconnection' => $hasInternet
+ array (
+ 'serverHasInternetConnection' => $hasInternet,
+ 'dataDirectoryProtected' => OC_Util::isHtaccessWorking()
)
);