From 936c8ba1cc3b36fdc122276fc9a96de4a4003bd1 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Mon, 7 May 2012 15:39:17 +0200 Subject: improve remote.php and create public.php --- apps/files_sharing/js/share.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_sharing/js') diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js index 7bfaa1f0c69..3dedde48c27 100644 --- a/apps/files_sharing/js/share.js +++ b/apps/files_sharing/js/share.js @@ -177,7 +177,7 @@ OC.Share={ }, showPrivateLink:function(item, token) { $('#privateLinkCheckbox').attr('checked', true); - var link = parent.location.protocol+'//'+location.host+OC.linkTo('files_sharing','get.php')+'?token='+token; + var link = parent.location.protocol+'//'+location.host+OC.linkTo('', 'public.php')+'?service=files&token='+token; if (token.indexOf('&path=') == -1) { link += '&file=' + item; } else { -- cgit v1.2.3