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) {
|
||||
$href = $match[1];
|
||||
$cssFilePath = $_SERVER['DOCUMENT_ROOT'] . '/' . $href;
|
||||
echo $cssFilePath;
|
||||
$cssContent = file_get_contents($cssFilePath);
|
||||
$cssDir = dirname($cssFilePath);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user