fixed pclzip import

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

View File

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