X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclasses%2Fmain%2Fresponse%2Fhtml%2Fclass_HtmlResponse.php;h=ec5924b0632d50929163395e586a783ed8ab0ab4;hb=5203f9bd014ad46fbc7ee54e7223dcd46e14e3b4;hp=80b50e88364a4a7ab1a1a66037bd1645f66c9b2a;hpb=bb1e3a7f36ad3f7fa235c7601586d0caebd71ed1;p=core.git diff --git a/inc/classes/main/response/html/class_HtmlResponse.php b/inc/classes/main/response/html/class_HtmlResponse.php index 80b50e88..ec5924b0 100644 --- a/inc/classes/main/response/html/class_HtmlResponse.php +++ b/inc/classes/main/response/html/class_HtmlResponse.php @@ -33,6 +33,9 @@ class HtmlResponse extends BaseResponse implements Responseable { protected function __construct () { // Call parent constructor parent::__construct(__CLASS__); + + // Set response type + $this->setResponseType('html'); } /** @@ -202,16 +205,6 @@ class HtmlResponse extends BaseResponse implements Responseable { $this->addCookie($cookieName, $_COOKIE[$cookieName], FALSE); } // END - if } - - /** - * Getter for default command - * - * @return $defaultCommand Default command for this response - */ - public function getDefaultCommand () { - $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_web_command'); - return $defaultCommand; - } } // [EOF]