Subversion Repositories f9daq

Rev

Rev 276 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
274 f9daq 1
<html>
2
<body>
3
<?php
275 f9daq 4
 
348 f9daq 5
$hostname = gethostname();
6
if ($hostname != "belle2.ijs.si") {
7
  $output = shell_exec("curl -L http://belle2.ijs.si/masterclass_latest.tgz | tar xzv ");
8
  //$output = shell_exec("svn update");
9
  echo "<pre>$output</pre>";
10
  //$output = shell_exec("ls -latr tmp");
11
  //echo "<pre>$output</pre>";
12
}
13
 
274 f9daq 14
?>
275 f9daq 15
 
16
<h3>Update completed</h3>
17
<a href="index.php">Start with the exercises</a>
274 f9daq 18
</body>
19
</html>