diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-12-06 17:34:53 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-12-06 17:34:53 +0300 |
commit | 2b762271808598f69927a3d279ad24402a34f54e (patch) | |
tree | 6b63003c5b6fab89199dd29e8571226d46e08d7b /settings/ajax | |
parent | 94eb2e782fa164492dd2665e6651eaa7068039aa (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.php | 5 |
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() ) ); |