* @author vesta, http://vestacp.com/ * @copyright vesta 2010-2011 */ try { // Execution AjaxHandler::makeReply( AjaxHandler::getInstance()->dispatch(new Request()) ); } // // Errors handling // catch (SystemException $e) { AjaxHandler::systemError($e); } catch (ProtectionException $e) { AjaxHandler::protectionError($e); } catch (Exception $e) { AjaxHandler::generalError($e); }