예제 #1
0
	/**
	 * @see	wcf\action\AJAXInvokeAction::sendResponse()
	 */
	protected function sendResponse() {
		if (!isset($_POST['isFallback'])) {
			parent::sendResponse();
		}
		
		// IE9 is mad if iframe response is application/json
		header('Content-type: text/plain');
		echo JSON::encode($this->response);
		exit;
	}
예제 #2
0
 /**
  * @see	wcf\action\IAction::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     $this->parameters['__files'] = UploadHandler::getUploadHandler('__files');
 }