]> source.dussan.org Git - nextcloud-server.git/commitdiff
set public handeler in info,xml for sharing
authorRobin Appelman <icewind@owncloud.com>
Sun, 13 May 2012 22:00:14 +0000 (00:00 +0200)
committerRobin Appelman <icewind@owncloud.com>
Sun, 13 May 2012 22:28:27 +0000 (00:28 +0200)
apps/files_sharing/appinfo/app.php
apps/files_sharing/appinfo/info.xml
apps/files_sharing/appinfo/version

index b3b9776d2970f34d1044742924c6c345d963cc49..ea3a9da6f7a9693b7595cb2a55eac81cba0c3f96 100755 (executable)
@@ -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');
-?>
index 490ffaca890829334254cef4f9e6b0574c0dfbf8..58298a205fe046ab5549a532f11b799629e3b107 100644 (file)
@@ -10,4 +10,8 @@
        <types>
                <filesystem/>
        </types>
+       <public>
+               <files>get.php</files>
+               <webdav>get.php</webdav>
+       </public>
 </info>
index ceab6e11ece0bcec917c12e11d350946f085d549..2f4536184bcac31936bd15a5f9cf931dd526c022 100644 (file)
@@ -1 +1 @@
-0.1
\ No newline at end of file
+0.2
\ No newline at end of file