forked from Adleraci/adlerka.top
		
	test inlining
This commit is contained in:
		@@ -17,6 +17,7 @@ function inlineLocalStylesFromHref($inputString) {
 | 
			
		||||
        $cssContent = preg_replace_callback('/url\(["\']?\/(.*?)(?:[?#].*?)?["\']?\)/i', function($urlMatch) {
 | 
			
		||||
            // Extract the URL value
 | 
			
		||||
            $url = $urlMatch[1];
 | 
			
		||||
            echo "Hehe: $url";
 | 
			
		||||
 | 
			
		||||
            // Get the content of the external file specified in the url()
 | 
			
		||||
            $fileContent = file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/' . $url);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user