Add SHA1 to files
This commit is contained in:
parent
fffb86e971
commit
33c70f850f
@ -18,3 +18,4 @@
|
||||
|
||||
<!ELEMENT file (#PCDATA)>
|
||||
<!ATTLIST file path CDATA #REQUIRED>
|
||||
<!ATTLIST file sha1 CDATA #REQUIRED>
|
||||
|
@ -62,7 +62,8 @@ if ($SESS->level > 1)
|
||||
else if ($child->nodeName == "file")
|
||||
$ex->add_file(
|
||||
$child->getAttribute("path"),
|
||||
$child->nodeValue);
|
||||
$child->nodeValue,
|
||||
$child->getAttribute("sha1"));
|
||||
}
|
||||
|
||||
if (!$theme->add_exercice($ex))
|
||||
|
Loading…
Reference in New Issue
Block a user