r1369 + introduce initial revision of parseWikiLink()
[racktables] / process.php
1 <?php
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 ?>