summaryrefslogtreecommitdiff
path: root/lib/plugins/plugin/admin.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-01-15 20:24:14 +0100
committerAndreas Gohr <andi@splitbrain.org>2007-01-15 20:24:14 +0100
commit76bbcac22b5d5d1eabd680a0d5c7ea4bfe62bff4 (patch)
tree87b9f144ddd6e7af0ebf30278186b7bc2d1bd920 /lib/plugins/plugin/admin.php
parent5e7fa82eb634b47f5fb40694d9ee6eb9e4554019 (diff)
downloadrpg-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
Diffstat (limited to 'lib/plugins/plugin/admin.php')
-rw-r--r--lib/plugins/plugin/admin.php4
1 files changed, 2 insertions, 2 deletions
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);