test inlining

This commit is contained in:
Bruno Rybársky 2024-02-04 10:30:59 +01:00
parent 76cafbda3a
commit 40eee27fbb

@ -9,7 +9,6 @@ function inlineLocalStylesFromHref($inputString) {
$href = isset($match[1]) ? $match[1] : $match[2]; $href = isset($match[1]) ? $match[1] : $match[2];
$fname = $_SERVER['DOCUMENT_ROOT'] . '/' . $href; $fname = $_SERVER['DOCUMENT_ROOT'] . '/' . $href;
echo "from $fname";
// Get the content of the local CSS file // Get the content of the local CSS file
$cssContent = file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/' . $href); $cssContent = file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/' . $href);