Skip to content
Snippets Groups Projects
Commit 8681d62b authored by Robin Appelman's avatar Robin Appelman
Browse files
Patch by Daniel Devine
parent e61c5916
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,14 @@ global $WEBROOT;
<div class='foot'>
<?php
if(!OC_UTIL::hasSmallScreen()){
if (isset($_SERVER['HTTPS'])) {
$PROTO="webdavs://";
} else {
$PROTO="webdav://";
}
?>
<div class='bar'><p class="hint">
Hint: Mount it via webdav like this: <a href="webdav://<?php echo($_SERVER["HTTP_HOST"].$WEBROOT.'/webdav/owncloud.php');?>">webdav://<?php echo($_SERVER["HTTP_HOST"].$WEBROOT);?>/webdav/owncloud.php</a>
Hint: Mount it via webdav like this: <a href="<?php echo($PROTO.$_SERVER["HTTP_HOST"].$WEBROOT.'/webdav/owncloud.php');?>"><?php echo($PROTO.$_SERVER["HTTP_HOST"].$WEBROOT);?>/webdav/owncloud.php</a>
</p></div>
<?php }?>
<p class="footer">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment