From 03a2852f977cb4bf607ebf4a9bb8dd41e102cf11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 4 Feb 2024 11:08:12 +0100 Subject: [PATCH] test inlining --- lib/inliner.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/inliner.php b/lib/inliner.php index b90a8ae..28bd933 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -30,6 +30,7 @@ function inlineScriptFromSrc($inputString) { $outputString = preg_replace_callback($pattern, function($match) { $src = $match[1]; + echo $_SERVER['DOCUMENT_ROOT'] . '/' . $src; $jsContent = file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/' . $src); // Minify the JavaScript content