2012-03-03 03:57:03 +04:00
|
|
|
<?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';
|
2012-03-29 00:32:51 +04:00
|
|
|
OC::$CLASSPATH['Archive_Tar'] = '3rdparty/Archive/Tar.php';
|
|
|
|
foreach(array('ZIP','TAR') as $type){
|
2012-03-03 03:57:03 +04:00
|
|
|
OC::$CLASSPATH['OC_Archive_'.$type] = 'apps/files_archive/lib/'.strtolower($type).'.php';
|
|
|
|
}
|
|
|
|
|
|
|
|
OC::$CLASSPATH['OC_Filestorage_Archive']='apps/files_archive/lib/storage.php';
|
2012-03-03 23:46:46 +04:00
|
|
|
|
|
|
|
OC_Hook::connect('OC_Filesystem','get_mountpoint','OC_Filestorage_Archive','autoMount');
|
|
|
|
|
|
|
|
OC_Util::addScript( 'files_archive', 'archive' );
|