summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-02-09 05:13:33 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2013-02-09 05:13:33 -0800
commit279cbeb001c9d8e917838ffb6a1b10394f27cf79 (patch)
tree2a88f2ebb5b693ad74e1ec36255c63180c8a43c4 /settings
parentec829bd345045df985f623fa2fe6587d0ce68eb2 (diff)
parentea42014ba4e7ad44a290f968b1a1439f78c1117c (diff)
downloadnextcloud-server-279cbeb001c9d8e917838ffb6a1b10394f27cf79.tar.gz
nextcloud-server-279cbeb001c9d8e917838ffb6a1b10394f27cf79.zip
Merge pull request #1481 from owncloud/fixing-1354-master
basic WebDAV test in place now
Diffstat (limited to 'settings')
-rwxr-xr-xsettings/admin.php1
-rw-r--r--settings/templates/admin.php16
2 files changed, 17 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php
index 7cca7165153..c7848803095 100755
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -31,6 +31,7 @@ $tmpl->assign('entriesremain', $entriesremain);
$tmpl->assign('htaccessworking', $htaccessworking);
$tmpl->assign('internetconnectionworking', OC_Util::isinternetconnectionworking());
$tmpl->assign('islocaleworking', OC_Util::issetlocaleworking());
+$tmpl->assign('isWebDavWorking', OC_Util::isWebDAVWorking());
$tmpl->assign('has_fileinfo', OC_Util::fileInfoLoaded());
$tmpl->assign('backgroundjobs_mode', OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax'));
$tmpl->assign('shareAPIEnabled', OC_Appconfig::getValue('core', 'shareapi_enabled', 'yes'));
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 9a9a691dcbf..fac8a689883 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -22,6 +22,21 @@ if (!$_['htaccessworking']) {
<?php
}
+// is WebDAV working ?
+if (!$_['isWebDavWorking']) {
+ ?>
+<fieldset class="personalblock">
+ <legend><strong><?php echo $l->t('Setup Warning');?></strong></legend>
+
+ <span class="securitywarning">
+ <?php echo $l->t('Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.'); ?>
+ <?php echo $l->t('Please double check the <a href=\'%s\'>installation guides</a>.', 'http://doc.owncloud.org/server/5.0/admin_manual/installation.html'); ?>
+ </span>
+
+</fieldset>
+<?php
+}
+
// if module fileinfo available?
if (!$_['has_fileinfo']) {
?>
@@ -36,6 +51,7 @@ if (!$_['has_fileinfo']) {
<?php
}
+// is locale working ?
if (!$_['islocaleworking']) {
?>
<fieldset class="personalblock">