]> git.mjollnir.org Git - moodle.git/commitdiff
Chanfed to locate the pclzip properly.
authorstronk7 <stronk7>
Fri, 1 Aug 2003 23:36:07 +0000 (23:36 +0000)
committerstronk7 <stronk7>
Fri, 1 Aug 2003 23:36:07 +0000 (23:36 +0000)
backup/restorelib.php

index 8d6557c98ce29ecd25895de56169eb047343babb..6112eda313028ef4adafe9c4aa19001cb577bc52 100644 (file)
@@ -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;