We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82d6ae1 + 700995a commit f086c0cCopy full SHA for f086c0c
src/Mouf/Html/Template/BootstrapTemplate.php
@@ -135,7 +135,9 @@ public function toHtml()
135
// Let's register the template renderer in the default renderer.
136
$this->getDefaultRenderer()->setTemplateRenderer($this->getTemplateRenderer());
137
138
- header('Content-Type: text/html; charset=utf-8');
+ if (PHP_SAPI !== 'cli') {
139
+ header('Content-Type: text/html; charset=utf-8');
140
+ }
141
//Renderable::toHtml();// __DIR__."/../../../../views/template.php";
142
$this->toHtmlRenderer();
143
}
0 commit comments