diff --git a/lib/inliner.php b/lib/inliner.php index 64b7aa4..9180fd5 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -8,6 +8,8 @@ function inlineLocalStylesFromHref($inputString) { // Extract the href attribute value $href = isset($match[1]) ? $match[1] : $match[2]; + $fname = $_SERVER['DOCUMENT_ROOT'] . '/' . $href; + echo "from $fname"; // Get the content of the local CSS file $cssContent = file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/' . $href);