Subversion Repositories f9daq

Rev

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

  1. <html>
  2. <body>
  3. <?php
  4.  
  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.  
  14. ?>
  15.  
  16. <h3>Update completed</h3>
  17. <a href="index.php">Start with the exercises</a>
  18. </body>
  19. </html>
  20.