mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Chanfed to locate the pclzip properly.
This commit is contained in:
parent
bcd269d24d
commit
d37ca7c7f8
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
$status = true;
|
||||
|
||||
if (empty($CFG->unzip)) { // Use built-in php-based unzip function
|
||||
include_once("$CFG->wwwroot/lib/pclzip/pclzip.lib.php");
|
||||
include_once("$CFG->dirroot/lib/pclzip/pclzip.lib.php");
|
||||
$archive = new PclZip($file);
|
||||
if (!$list = $archive->extract(dirname($file))) {
|
||||
$status = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue