From: stronk7 Date: Fri, 1 Aug 2003 23:36:07 +0000 (+0000) Subject: Chanfed to locate the pclzip properly. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d37ca7c7f819aac06adc0365bbe438da38e20d57;p=moodle.git Chanfed to locate the pclzip properly. --- diff --git a/backup/restorelib.php b/backup/restorelib.php index 8d6557c98c..6112eda313 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -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;