|
@@ -86,7 +86,7 @@ discard block |
|
|
block discarded – undo |
|
86
|
86
|
|
|
87
|
87
|
$output_class_name = "\\Comodojo\\Dispatcher\\Output\\HttpStatus\\Status".$status; |
|
88
|
88
|
|
|
89
|
|
- if ( class_exists($output_class_name) ) { |
|
|
89
|
+ if (class_exists($output_class_name)) { |
|
90
|
90
|
|
|
91
|
91
|
$output = new $output_class_name($this->response); |
|
92
|
92
|
|
|
@@ -123,10 +123,10 @@ discard block |
|
|
block discarded – undo |
|
123
|
123
|
$type = $this->response->content()->type(); |
|
124
|
124
|
$charset = $this->response->content()->charset(); |
|
125
|
125
|
|
|
126
|
|
- if ( is_null($charset) ) { |
|
127
|
|
- $this->response->headers()->set("Content-type",strtolower($type)); |
|
|
126
|
+ if (is_null($charset)) { |
|
|
127
|
+ $this->response->headers()->set("Content-type", strtolower($type)); |
|
128
|
128
|
} else { |
|
129
|
|
- $this->response->headers()->set("Content-type",strtolower($type)."; charset=".$charset); |
|
|
129
|
+ $this->response->headers()->set("Content-type", strtolower($type)."; charset=".$charset); |
|
130
|
130
|
} |
|
131
|
131
|
|
|
132
|
132
|
} |
Please login to merge, or discard this patch.