Commit | Line | Data |
---|---|---|
b325120a | 1 | <?php |
e673ee24 DO |
2 | |
3 | require 'inc/init.php'; | |
4 | authorize(); | |
5 | ||
6 | $op = (isset ($_REQUEST['op'])) ? $_REQUEST['op'] : ''; | |
7 | ||
8 | if (!isset ($ophandler[$pageno][$tabno][$op])) | |
9 | { | |
10 | showError ("Invalid request in operation broker: page '${pageno}', tab '${tabno}', op '${op}'"); | |
11 | die(); | |
12 | } | |
13 | ||
14 | // We have a chance to handle an error before starting HTTP header. | |
15 | $location = $ophandler[$pageno][$tabno][$op](); | |
16 | header ("Location: " . $location); | |
17 | ||
18 | ?> |