setpath('template', 'tpl'); // template directory is tpl if (!include_once("view/$view.php")) { trigger_error("broker could not find view $view", E_USER_ERROR); } //print "
\n"; //foreach ($error->getMessages() as $msg) { // print "
$msg
"; //} //print "
"; ?>