mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 09:06:10 +02:00
spelling
This commit is contained in:
@@ -64,7 +64,7 @@ class BrowserConsoleHandler extends AbstractProcessingHandler
|
|||||||
foreach (headers_list() as $header) {
|
foreach (headers_list() as $header) {
|
||||||
if (stripos($header, 'content-type:') === 0) {
|
if (stripos($header, 'content-type:') === 0) {
|
||||||
// This handler only works with HTML and javascript outputs
|
// This handler only works with HTML and javascript outputs
|
||||||
// text/javascript is obsoute in favour of application/javascript, but still used
|
// text/javascript is obsolete in favour of application/javascript, but still used
|
||||||
if (stripos($header, 'application/javascript') !== false || stripos($header, 'text/javascript') !== false) {
|
if (stripos($header, 'application/javascript') !== false || stripos($header, 'text/javascript') !== false) {
|
||||||
$htmlTags = false;
|
$htmlTags = false;
|
||||||
} elseif (stripos($header, 'text/html') === false) {
|
} elseif (stripos($header, 'text/html') === false) {
|
||||||
|
Reference in New Issue
Block a user