Try replacing the preg line with:
Code:
if (preg_match('#<link rel="stylesheet" type="text/css" href="style-\w{8}-0*' . $styleid . '\.css" />#siU', $csscontents, $match))
Quote:
Originally Posted by Zachery
Uh, that is php code, not css code. I'm nearly positive vBulletin doesn't use an @import in the actual css rules. It uses a standard <link> tag, in the head.
|
I thought the same thing, but it turns out it is something that browsers recognize.
http://stackoverflow.com/questions/1...why-use-import