mirror of
https://github.com/moodle/moodle.git
synced 2025-03-03 23:46:09 +01:00
fixed pclzip import
This commit is contained in:
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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user