test inlining
This commit is contained in:
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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user