We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13fc389 + 252d568 commit d94f38dCopy full SHA for d94f38d
1 file changed
src/Parser.php
@@ -63,6 +63,6 @@ private function loadXPathDocument($html)
63
64
private function isValidPhpInfoHtml()
65
{
66
- return $this->xpath->query('//head//title')[0]->nodeValue === 'phpinfo()';
+ return strpos($this->xpath->query('//head//title')[0]->nodeValue, 'phpinfo()') !== false;
67
}
68
0 commit comments