Permalink
Browse files

Chanfed to locate the pclzip properly.

  • Loading branch information...
stronk7
stronk7 committed Aug 1, 2003
1 parent bcd269d commit d37ca7c7f819aac06adc0365bbe438da38e20d57
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/restorelib.php
View
@@ -10,7 +10,7 @@ function restore_unzip ($file) {
$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;

0 comments on commit d37ca7c

Please sign in to comment.