diff --git a/backup/backuplib.php b/backup/backuplib.php
index a69feb5f48d..ba6ce1bbf8a 100644
--- a/backup/backuplib.php
+++ b/backup/backuplib.php
@@ -929,6 +929,7 @@
$files = array();
foreach ($filelist as $file) {
//If directory, append "/"
+ //Commented. Not needed wit version 2.0 of pclzip !!
//if (is_dir($basedir."/".$file)) {
// $file = $file."/";
//}
@@ -937,16 +938,16 @@
$files[] = $basedir."/".$file;
}
include_once("$CFG->dirroot/lib/pclzip/pclzip.lib.php");
- include_once("$CFG->dirroot/lib/pclzip/pclerror.lib.php");
- include_once("$CFG->dirroot/lib/pclzip/pcltrace.lib.php");
- PclTraceOn(2);
+ //include_once("$CFG->dirroot/lib/pclzip/pclerror.lib.php"); //Debug
+ //include_once("$CFG->dirroot/lib/pclzip/pcltrace.lib.php"); //Debug
+ //PclTraceOn(2); //Debug
$archive = new PclZip("$basedir/$name");
if (($list = $archive->create($files,PCLZIP_OPT_REMOVE_PATH,$basedir)) == 0) {
error($archive->errorInfo(true));
$status = false;
}
- PclTraceDisplay();
- PclTraceOff();
+ //PclTraceDisplay(); //Debug
+ //PclTraceOff(); //Debug
} else { // Use external zip program
//echo "
Using external zip"; //Debug
$files = "";
diff --git a/backup/restore_execute.html b/backup/restore_execute.html
index a12214d6b22..07e2d83bb5d 100644
--- a/backup/restore_execute.html
+++ b/backup/restore_execute.html
@@ -276,9 +276,9 @@
//Cleanup temps (files and db)
if ($status) {
echo "