diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-01-15 20:24:14 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-01-15 20:24:14 +0100 |
commit | 76bbcac22b5d5d1eabd680a0d5c7ea4bfe62bff4 (patch) | |
tree | 87b9f144ddd6e7af0ebf30278186b7bc2d1bd920 | |
parent | 5e7fa82eb634b47f5fb40694d9ee6eb9e4554019 (diff) | |
download | rpg-76bbcac22b5d5d1eabd680a0d5c7ea4bfe62bff4.tar.gz rpg-76bbcac22b5d5d1eabd680a0d5c7ea4bfe62bff4.tar.bz2 |
move tar and zip libs to inc
Move the compression libs of the plugin manager toa mre common place to
make them available to plugin authors.
darcs-hash:20070115192414-7ad00-0d53e8faf26fa1eeb1026ffab8e0593f015147de.gz
-rw-r--r-- | inc/TarLib.class.php (renamed from lib/plugins/plugin/inc/TarLib.class.php) | 0 | ||||
-rw-r--r-- | inc/ZipLib.class.php (renamed from lib/plugins/plugin/inc/ZipLib.class.php) | 0 | ||||
-rw-r--r-- | lib/plugins/plugin/admin.php | 4 |
3 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/plugin/inc/TarLib.class.php b/inc/TarLib.class.php index 831ee68e7..831ee68e7 100644 --- a/lib/plugins/plugin/inc/TarLib.class.php +++ b/inc/TarLib.class.php diff --git a/lib/plugins/plugin/inc/ZipLib.class.php b/inc/ZipLib.class.php index 767d324a9..767d324a9 100644 --- a/lib/plugins/plugin/inc/ZipLib.class.php +++ b/inc/ZipLib.class.php diff --git a/lib/plugins/plugin/admin.php b/lib/plugins/plugin/admin.php index 0064e7092..c34616d30 100644 --- a/lib/plugins/plugin/admin.php +++ b/lib/plugins/plugin/admin.php @@ -628,7 +628,7 @@ class ap_manage { // .tar, .tar.bz, .tar.gz, .tgz if (in_array($ext, array('tar','bz','bz2','gz','tgz'))) { - require_once(DOKU_PLUGIN."plugin/inc/TarLib.class.php"); + require_once(DOKU_INC."inc/TarLib.class.php"); if (strpos($ext, 'bz') !== false) $compress_type = COMPRESS_BZIP; else if (strpos($ext,'gz') !== false) $compress_type = COMPRESS_GZIP; @@ -642,7 +642,7 @@ class ap_manage { } else if ($ext == 'zip') { - require_once(DOKU_PLUGIN."plugin/inc/ZipLib.class.php"); + require_once(DOKU_INC."inc/ZipLib.class.php"); $zip = new ZipLib(); $ok = $zip->Extract($file, $target); |