Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 274 → Rev 275

/belle2/masterclass/index.php
395,4 → 395,5
</script>
<div id="drawing"></div>
</body>
<a href="update.php">Update code</a>
</html>
/belle2/masterclass/update.php
1,7 → 1,15
<html>
<body>
<?php
exec("curl -L http ://belle2.ijs.si/masterclass_latest.tgz | tar xzv ");
 
#$output = shell_exec("curl -L http://belle2.ijs.si/masterclass_latest.tgz | tar xzv ");
$output = shell_exec("svn update");
echo "<pre>$output</pre>";
//$output = shell_exec("ls -latr tmp");
//echo "<pre>$output</pre>";
?>
 
<h3>Update completed</h3>
<a href="index.php">Start with the exercises</a>
</body>
</html>