diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-05-11 20:32:37 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-05-11 20:33:56 +0200 |
commit | 736739bbbda2e9930b7bdcf79f43a28fad4d1d5d (patch) | |
tree | b77bc51d0759baeec9e5b3cc2857548a12715d13 /apps/files/appinfo | |
parent | d2bd78c41a58320e0f1f6ff6d602371325390747 (diff) | |
download | nextcloud-server-736739bbbda2e9930b7bdcf79f43a28fad4d1d5d.tar.gz nextcloud-server-736739bbbda2e9930b7bdcf79f43a28fad4d1d5d.zip |
load remote and public paths from info.xml during upgrade instead of setting them every time
Diffstat (limited to 'apps/files/appinfo')
-rwxr-xr-x | apps/files/appinfo/app.php | 1 | ||||
-rw-r--r-- | apps/files/appinfo/info.xml | 4 | ||||
-rw-r--r-- | apps/files/appinfo/version | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php index e7358242ddb..5c0d3c8db83 100755 --- a/apps/files/appinfo/app.php +++ b/apps/files/appinfo/app.php @@ -7,4 +7,3 @@ OCP\App::registerAdmin('files','admin'); OCP\App::addNavigationEntry( array( "id" => "files_index", "order" => 0, "href" => OCP\Util::linkTo( "files", "index.php" ), "icon" => OCP\Util::imagePath( "core", "places/home.svg" ), "name" => $l->t("Files") )); OC_Search::registerProvider('OC_Search_Provider_File'); -OCP\CONFIG::setAppValue('core', 'remote_webdav', '/apps/files/appinfo/remote.php');
\ No newline at end of file diff --git a/apps/files/appinfo/info.xml b/apps/files/appinfo/info.xml index 03076dee98c..76a06a0cb4b 100644 --- a/apps/files/appinfo/info.xml +++ b/apps/files/appinfo/info.xml @@ -8,4 +8,8 @@ <require>2</require> <standalone/> <default_enable/> + <remote> + <files>appinfo/remote.php</files> + <webdav>appinfo/remote.php</webdav> + </remote> </info> diff --git a/apps/files/appinfo/version b/apps/files/appinfo/version index 9f8e9b69a33..b123147e2a1 100644 --- a/apps/files/appinfo/version +++ b/apps/files/appinfo/version @@ -1 +1 @@ -1.0
\ No newline at end of file +1.1
\ No newline at end of file |