1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-03 15:29:08 +01:00

fixed pclzip import

This commit is contained in:
skodak 2005-02-06 19:40:01 +00:00
parent 1ef915cfc1
commit b463ce3cae

@ -442,7 +442,7 @@
echo "<P ALIGN=CENTER>$strlistfiles:</P>";
$file = basename($file);
include_once('../lib/pclzip/pclzip.lib.php');
include_once("$CFG->libdir/pclzip/pclzip.lib.php");
$archive = new PclZip("$basedir/$wdir/$file");
if (!$list = $archive->listContent("$basedir/$wdir")) {
notify($archive->errorInfo(true));