1aaaa700cdfda9c1e0bd92741205d07d8e0132de
bernd * alle internen Links sinnv...

bernd authored 15 years ago

1) <?php
2) require_once('session/start.php');
3) require_once('webapp-installer.php');
4) 
5) require_role(ROLE_SYSTEMUSER);
6) 
bernd Menü richtig aufgeklappt la...

bernd authored 14 years ago

7) $section = 'webapps_freewvs';
bernd * alle internen Links sinnv...

bernd authored 15 years ago

8) $directory = $_GET['dir'];
9) 
10) if (! in_homedir($directory))
11)   system_failure('Pfad nicht im Homedir oder ungültige Zeichen im Pfad');
12) 
13) $app = $_GET['app'];
14) verify_input_general($app);
15) 
16) 
17) $sure = user_is_sure();
18) if ($sure === NULL)
19) {
20)   are_you_sure("dir={$directory}&app={$app}", "Möchten Sie ein Update der Anwendung »{$app}« im Verzeichnis »{$directory}« automatisch durchführen lassen?");
21) }
22) elseif ($sure === true)
23) {
24)   request_update($app, $directory, get_url_for_dir($directory));
25)   if (! $debugmode)
bernd Nach update-request auf die...

bernd authored 14 years ago

26)     header("Location: waitforupdate");