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';
|
|
|
|
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';
|
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' );
|