Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-12-06 17:34:53 +0300
committerLukas Reschke <lukas@owncloud.com>2014-12-06 17:34:53 +0300
commit2b762271808598f69927a3d279ad24402a34f54e (patch)
tree6b63003c5b6fab89199dd29e8571226d46e08d7b /settings/ajax
parent94eb2e782fa164492dd2665e6651eaa7068039aa (diff)
Check for working .htaccess via AJAX
Fixes https://github.com/owncloud/core/issues/12650
Diffstat (limited to 'settings/ajax')
-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()
)
);