vogelor
2010-05-26 24f38b424a3d12c7f4fac1829c83725b200b1e97
server/mods-available/remoteaction_core_module.inc.php
@@ -147,11 +147,15 @@
      /*
       * Do the update
       */
      exec("cd /tmp");
      $oldDir = getcwd();
      chdir("/tmp");
      exec("rm /tmp/ISPConfig-" . $new_version . ".tar.gz");
      exec("rm /tmp/ispconfig3_install -R");
      exec("wget http://www.ispconfig.org/downloads/ISPConfig-" . $new_version . ".tar.gz");
      exec("tar xvfz ISPConfig-" . $new_version . ".tar.gz");
      exec("cd ispconfig3_install/install");
      chdir("/tmp/ispconfig3_install/install");
      exec("touch autoupdate");
      exec("php -q autoupdate.php");