3 require 'inc/init.php';
6 if (empty ($op) or !isset ($ophandler[$pageno][$tabno][$op]))
8 showError ("Invalid request in operation broker: page '${pageno}', tab '${tabno}', op '${op}'", __FILE__
);
12 // We have a chance to handle an error before starting HTTP header.
13 if (!isset ($delayauth[$pageno][$tabno][$op]) and !permitted())
18 'm' => array (0 => array ('c' => 157)) // operation not permitted
20 $location = buildWideRedirectURL ($errlog);
24 $location = $ophandler[$pageno][$tabno][$op]();
25 if (empty ($location))
27 showError ('Operation handler failed to return its status', __FILE__
);
30 header ("Location: " . $location);