summaryrefslogtreecommitdiffstats
path: root/apps/files_archive/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-03-03 00:57:03 +0100
committerRobin Appelman <icewind@owncloud.com>2012-03-03 00:57:52 +0100
commit042878a5a90d95ed49fcbdba4ea710ea545b61cc (patch)
treea53866e09a37621db66f148474ac26ecdb0f5af2 /apps/files_archive/appinfo
parentc609b3084166c08249a68796d0a2d5941ac0c8e7 (diff)
downloadnextcloud-server-042878a5a90d95ed49fcbdba4ea710ea545b61cc.tar.gz
nextcloud-server-042878a5a90d95ed49fcbdba4ea710ea545b61cc.zip
add archive library and a storage provider on top of the archive library
only zip backend is implemented atm
Diffstat (limited to 'apps/files_archive/appinfo')
-rw-r--r--apps/files_archive/appinfo/app.php14
-rw-r--r--apps/files_archive/appinfo/info.xml10
2 files changed, 24 insertions, 0 deletions
diff --git a/apps/files_archive/appinfo/app.php b/apps/files_archive/appinfo/app.php
new file mode 100644
index 00000000000..e75f6fa0559
--- /dev/null
+++ b/apps/files_archive/appinfo/app.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+OC::$CLASSPATH['OC_Archive'] = 'apps/files_archive/lib/archive.php';
+foreach(array('ZIP') as $type){
+ OC::$CLASSPATH['OC_Archive_'.$type] = 'apps/files_archive/lib/'.strtolower($type).'.php';
+}
+
+OC::$CLASSPATH['OC_Filestorage_Archive']='apps/files_archive/lib/storage.php';
diff --git a/apps/files_archive/appinfo/info.xml b/apps/files_archive/appinfo/info.xml
new file mode 100644
index 00000000000..df767d39f6b
--- /dev/null
+++ b/apps/files_archive/appinfo/info.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<info>
+ <id>files_archive</id>
+ <name>Archive support</name>
+ <description>Transparent opening of archives</description>
+ <version>0.1</version>
+ <licence>AGPL</licence>
+ <author>Robin Appelman</author>
+ <require>3</require>
+</info>