diff options
-rwxr-xr-x | apps/files_archive/appinfo/app.php | 6 | ||||
-rw-r--r-- | lib/archive.php (renamed from apps/files_archive/lib/archive.php) | 0 | ||||
-rwxr-xr-x | lib/archive/tar.php (renamed from apps/files_archive/lib/tar.php) | 2 | ||||
-rwxr-xr-x | lib/archive/zip.php (renamed from apps/files_archive/lib/zip.php) | 0 | ||||
-rwxr-xr-x | tests/lib/archive.php (renamed from apps/files_archive/tests/archive.php) | 0 | ||||
-rwxr-xr-x | tests/lib/archive/tar.php (renamed from apps/files_archive/tests/tar.php) | 0 | ||||
-rwxr-xr-x | tests/lib/archive/zip.php (renamed from apps/files_archive/tests/zip.php) | 0 |
7 files changed, 2 insertions, 6 deletions
diff --git a/apps/files_archive/appinfo/app.php b/apps/files_archive/appinfo/app.php index 5d402b61ff7..0b156ced277 100755 --- a/apps/files_archive/appinfo/app.php +++ b/apps/files_archive/appinfo/app.php @@ -6,12 +6,6 @@ * 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_Hook::connect('OC_Filesystem','get_mountpoint','OC_Filestorage_Archive','autoMount'); diff --git a/apps/files_archive/lib/archive.php b/lib/archive.php index 113f92e9604..113f92e9604 100644 --- a/apps/files_archive/lib/archive.php +++ b/lib/archive.php diff --git a/apps/files_archive/lib/tar.php b/lib/archive/tar.php index 2cb8dc2a8ae..07f0ba5bd8a 100755 --- a/apps/files_archive/lib/tar.php +++ b/lib/archive/tar.php @@ -6,6 +6,8 @@ * See the COPYING-README file. */ +require_once '3rdparty/Archive/Tar.php'; + class OC_Archive_TAR extends OC_Archive{ const PLAIN=0; const GZIP=1; diff --git a/apps/files_archive/lib/zip.php b/lib/archive/zip.php index 22ab48937eb..22ab48937eb 100755 --- a/apps/files_archive/lib/zip.php +++ b/lib/archive/zip.php diff --git a/apps/files_archive/tests/archive.php b/tests/lib/archive.php index 1779127c932..1779127c932 100755 --- a/apps/files_archive/tests/archive.php +++ b/tests/lib/archive.php diff --git a/apps/files_archive/tests/tar.php b/tests/lib/archive/tar.php index c138a51a651..c138a51a651 100755 --- a/apps/files_archive/tests/tar.php +++ b/tests/lib/archive/tar.php diff --git a/apps/files_archive/tests/zip.php b/tests/lib/archive/zip.php index 615c9e3c7e2..615c9e3c7e2 100755 --- a/apps/files_archive/tests/zip.php +++ b/tests/lib/archive/zip.php |