r1979 + allow a comment to end RackCode text
[racktables] / process.php
CommitLineData
b325120a 1<?php
e673ee24
DO
2
3require 'inc/init.php';
4authorize();
5
6$op = (isset ($_REQUEST['op'])) ? $_REQUEST['op'] : '';
7
8if (!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]();
16header ("Location: " . $location);
17
18?>