c12c27e9e8e26e877e005c8aa2e01901e7bb39ab
bernd Großer VMail-move

bernd authored 15 years ago

1) <?php
2) 
3) require_once('session/start.php');
4) require_once('vmail.php');
5) 
6) require_once("inc/debug.php");
7) global $debugmode;
8) 
9) require_role(ROLE_SYSTEMUSER);
10) 
11) check_form_token('vmail_domainchange');
12) 
13) if (! $_POST['type'] || ! $_POST['id'])
14)   system_failure("Unvollständige POST-Daten");
15) 
16) change_domain($_POST['id'], $_POST['type']);
17) 
18) if (!$debugmode) {
bernd eliminate .php extensions f...

bernd authored 15 years ago

19)   header('Location: domains');