test inlining

This commit is contained in:
Bruno Rybársky 2024-02-04 11:13:46 +01:00
parent 988b40e335
commit c5aa686997

@ -6,7 +6,6 @@ function inlineLocalStylesFromHref($inputString) {
$outputString = preg_replace_callback($pattern, function($match) {
$href = $match[1];
$cssFilePath = $_SERVER['DOCUMENT_ROOT'] . '/' . $href;
echo $cssFilePath;
$cssContent = file_get_contents($cssFilePath);
$cssDir = dirname($cssFilePath);