aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-05-14 00:00:14 +0200
committerRobin Appelman <icewind@owncloud.com>2012-05-14 00:28:27 +0200
commit0fb90fa87568fc12e1f05d45c53ef9cf88991ba6 (patch)
tree65a40bb4611d796d3167c1af8d4102238c963a03
parent4e1e978b89adf49eaeb152688525d027ac1e4c57 (diff)
downloadnextcloud-server-0fb90fa87568fc12e1f05d45c53ef9cf88991ba6.tar.gz
nextcloud-server-0fb90fa87568fc12e1f05d45c53ef9cf88991ba6.zip
set public handeler in info,xml for sharing
-rwxr-xr-xapps/files_sharing/appinfo/app.php2
-rw-r--r--apps/files_sharing/appinfo/info.xml4
-rw-r--r--apps/files_sharing/appinfo/version2
3 files changed, 5 insertions, 3 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index b3b9776d297..ea3a9da6f7a 100755
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -17,5 +17,3 @@ if ($dir != '/Shared' || OCP\Config::getAppValue('files_sharing', 'resharing', '
OCP\Util::addscript("3rdparty", "chosen/chosen.jquery.min");
OCP\Util::addStyle( 'files_sharing', 'sharing' );
OCP\Util::addStyle("3rdparty", "chosen/chosen");
-OCP\CONFIG::setAppValue('core', 'public_files', '/apps/files_sharing/get.php');
-?>
diff --git a/apps/files_sharing/appinfo/info.xml b/apps/files_sharing/appinfo/info.xml
index 490ffaca890..58298a205fe 100644
--- a/apps/files_sharing/appinfo/info.xml
+++ b/apps/files_sharing/appinfo/info.xml
@@ -10,4 +10,8 @@
<types>
<filesystem/>
</types>
+ <public>
+ <files>get.php</files>
+ <webdav>get.php</webdav>
+ </public>
</info>
diff --git a/apps/files_sharing/appinfo/version b/apps/files_sharing/appinfo/version
index ceab6e11ece..2f4536184bc 100644
--- a/apps/files_sharing/appinfo/version
+++ b/apps/files_sharing/appinfo/version
@@ -1 +1 @@
-0.1 \ No newline at end of file
+0.2 \ No newline at end of file