@@ 2871-2881 (lines=11) @@ | ||
2868 | return 'text/html'; |
|
2869 | } |
|
2870 | } |
|
2871 | elseif (substr($this->file->body, $pos, 1) === '!') |
|
2872 | { |
|
2873 | if ($pos < $len && ($pos = strpos($this->file->body, '>', $pos)) !== false) |
|
2874 | { |
|
2875 | $pos++; |
|
2876 | } |
|
2877 | else |
|
2878 | { |
|
2879 | return 'text/html'; |
|
2880 | } |
|
2881 | } |
|
2882 | elseif (substr($this->file->body, $pos, 1) === '?') |
|
2883 | { |
|
2884 | if ($pos < $len && ($pos = strpos($this->file->body, '?>', $pos)) !== false) |
|
@@ 2882-2892 (lines=11) @@ | ||
2879 | return 'text/html'; |
|
2880 | } |
|
2881 | } |
|
2882 | elseif (substr($this->file->body, $pos, 1) === '?') |
|
2883 | { |
|
2884 | if ($pos < $len && ($pos = strpos($this->file->body, '?>', $pos)) !== false) |
|
2885 | { |
|
2886 | $pos += 2; |
|
2887 | } |
|
2888 | else |
|
2889 | { |
|
2890 | return 'text/html'; |
|
2891 | } |
|
2892 | } |
|
2893 | elseif (substr($this->file->body, $pos, 3) === 'rss' |
|
2894 | || substr($this->file->body, $pos, 7) === 'rdf:RDF') |
|
2895 | { |