forked from Adleraci/adlerka.top
test inlining
This commit is contained in:
parent
988b40e335
commit
c5aa686997
@ -6,7 +6,6 @@ function inlineLocalStylesFromHref($inputString) {
|
|||||||
$outputString = preg_replace_callback($pattern, function($match) {
|
$outputString = preg_replace_callback($pattern, function($match) {
|
||||||
$href = $match[1];
|
$href = $match[1];
|
||||||
$cssFilePath = $_SERVER['DOCUMENT_ROOT'] . '/' . $href;
|
$cssFilePath = $_SERVER['DOCUMENT_ROOT'] . '/' . $href;
|
||||||
echo $cssFilePath;
|
|
||||||
$cssContent = file_get_contents($cssFilePath);
|
$cssContent = file_get_contents($cssFilePath);
|
||||||
$cssDir = dirname($cssFilePath);
|
$cssDir = dirname($cssFilePath);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user