This commit is contained in:
Jürgen Mummert
2025-12-23 11:15:16 +01:00
parent 86bb2d8e8d
commit 50a201a490
+4
View File
@@ -76,6 +76,10 @@ class IndexPageListener
} }
} }
if (PHP_SAPI === 'cli') {
echo "INDEXPAGE LISTENER ACTIVE: {$set['url']}\n";
}
private function extractMarkers(string $content): array private function extractMarkers(string $content): array
{ {
if (!preg_match('/<!--\s*MEILISEARCH(.*?)-->/s', $content, $m)) { if (!preg_match('/<!--\s*MEILISEARCH(.*?)-->/s', $content, $m)) {