summaryrefslogtreecommitdiff
path: root/lib/plugins/plugin/classes
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-02-01 16:10:25 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-02-01 16:10:25 +0100
commitc2a6d81662045023bdf1617b6b49f71c274d55ca (patch)
tree3449fc7e242890cbc1c18293e6efbca7a7403df9 /lib/plugins/plugin/classes
parent0af14a6e25ba35e88d96762bc73325838868e3fe (diff)
downloadrpg-c2a6d81662045023bdf1617b6b49f71c274d55ca.tar.gz
rpg-c2a6d81662045023bdf1617b6b49f71c274d55ca.tar.bz2
plugin related autoloading
This patch moved the place where DOKU_PLUGIN is defined. It no longer can be set from a normal config (only via preload)
Diffstat (limited to 'lib/plugins/plugin/classes')
-rw-r--r--lib/plugins/plugin/classes/ap_download.class.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/plugins/plugin/classes/ap_download.class.php b/lib/plugins/plugin/classes/ap_download.class.php
index 90e5de53b..6ad048d72 100644
--- a/lib/plugins/plugin/classes/ap_download.class.php
+++ b/lib/plugins/plugin/classes/ap_download.class.php
@@ -197,8 +197,6 @@ class ap_download extends ap_manage {
$ext = $this->guess_archive($file);
if (in_array($ext, array('tar','bz','gz'))) {
- require_once(DOKU_INC."inc/TarLib.class.php");
-
switch($ext){
case 'bz':
$compress_type = COMPRESS_BZIP;
@@ -227,7 +225,6 @@ class ap_download extends ap_manage {
}
return true;
} else if ($ext == 'zip') {
- require_once(DOKU_INC."inc/ZipLib.class.php");
$zip = new ZipLib();
$ok = $zip->Extract($file, $target);