summaryrefslogtreecommitdiffstats
path: root/apps/files_archive/appinfo/app.php
blob: 693c28d98a07a44d4b6e7fffc8a9d80c02fb895d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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';

OC_Hook::connect('OC_Filesystem','get_mountpoint','OC_Filestorage_Archive','autoMount');

OC_Util::addScript( 'files_archive', 'archive' );