From 76bbcac22b5d5d1eabd680a0d5c7ea4bfe62bff4 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 15 Jan 2007 20:24:14 +0100 Subject: 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 --- lib/plugins/plugin/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/plugins/plugin/admin.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); -- cgit v1.2.3