diff --git a/lib/inliner.php b/lib/inliner.php index 110bdcc..efc401b 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -17,6 +17,7 @@ function inlineLocalStylesFromHref($inputString) { $cssContent = preg_replace_callback('/url\(["\']?\/(.*?)(?:[?#].*?)?["\']?\)/i', function($urlMatch) { // Extract the URL value $url = $urlMatch[1]; + echo "Hehe: $url"; // Get the content of the external file specified in the url() $fileContent = file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/' . $url);