From ad80e394a0a4a8df16154b660da570be5a04b713 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 3 Jul 2003 23:18:13 +0000 Subject: [PATCH] Some comments and debug --- backup/restorelib.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/backup/restorelib.php b/backup/restorelib.php index c94703bc60..3e52896fe8 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -900,9 +900,9 @@ $this->level++; $this->tree[$this->level] = $tagName; -if ($tagName == "QUESTION_CATEGORY" && $this->tree[3] == "QUESTION_CATEGORIES") { -echo "

QUESTION_CATEGORY: ".strftime ("%X",time()),"-"; -} + //if ($tagName == "QUESTION_CATEGORY" && $this->tree[3] == "QUESTION_CATEGORIES") { //Debug + // echo "

QUESTION_CATEGORY: ".strftime ("%X",time()),"-"; //Debug + //} //Debug //Output something to avoid browser timeouts... backup_flush(); @@ -923,9 +923,9 @@ echo "

QUESTION_CATEGORY: ".strftime ("%X",time()),"-"; $this->level++; $this->tree[$this->level] = $tagName; -if ($tagName == "MOD" && $this->tree[3] == "MODULES") { -echo "

MOD: ".strftime ("%X",time()),"-"; -} + if ($tagName == "MOD" && $this->tree[3] == "MODULES") { //Debug + echo "

MOD: ".strftime ("%X",time()),"-"; //Debug + } //Debug //Output something to avoid browser timeouts... backup_flush(); @@ -1416,9 +1416,9 @@ echo "

MOD: ".strftime ("%X",time()),"-"; //Prepend XML standard header to info gathered $xml_data = "\n".$this->temp; //Call to xmlize for this portion of xml data (one MOD) - echo "-XMLIZE: ".strftime ("%X",time()),"-"; + //echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug $data = xmlize($xml_data); - echo strftime ("%X",time())."

"; + //echo strftime ("%X",time())."

"; //Debug //traverse_xmlize($data); //Debug //print_object ($GLOBALS['traverse_array']); //Debug //$GLOBALS['traverse_array']=""; //Debug @@ -1463,9 +1463,9 @@ echo "

MOD: ".strftime ("%X",time()),"-"; //Prepend XML standard header to info gathered $xml_data = "\n".$this->temp; //Call to xmlize for this portion of xml data (one MOD) - echo "-XMLIZE: ".strftime ("%X",time()),"-"; - $data = xmlize($xml_data); - echo strftime ("%X",time())."

"; + echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug + $data = xmlize($xml_data); + echo strftime ("%X",time())."

"; //Debug //traverse_xmlize($data); //Debug //print_object ($GLOBALS['traverse_array']); //Debug //$GLOBALS['traverse_array']=""; //Debug -- 2.39.5