Skip to content
Snippets Groups Projects
Commit e5ef3e13 authored by Robin Appelman's avatar Robin Appelman
Browse files

move archive library to core so we can properly depend on it

parent 0b51c534
No related branches found
No related tags found
No related merge requests found
...@@ -6,12 +6,6 @@ ...@@ -6,12 +6,6 @@
* See the COPYING-README file. * See the COPYING-README file.
*/ */
OC::$CLASSPATH['OC_Archive'] = 'apps/files_archive/lib/archive.php';
OC::$CLASSPATH['Archive_Tar'] = '3rdparty/Archive/Tar.php';
foreach(array('ZIP','TAR') 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::$CLASSPATH['OC_Filestorage_Archive']='apps/files_archive/lib/storage.php';
OC_Hook::connect('OC_Filesystem','get_mountpoint','OC_Filestorage_Archive','autoMount'); OC_Hook::connect('OC_Filesystem','get_mountpoint','OC_Filestorage_Archive','autoMount');
......
File moved
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
* See the COPYING-README file. * See the COPYING-README file.
*/ */
require_once '3rdparty/Archive/Tar.php';
class OC_Archive_TAR extends OC_Archive{ class OC_Archive_TAR extends OC_Archive{
const PLAIN=0; const PLAIN=0;
const GZIP=1; const GZIP=1;
......
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment