From 8a8305cb9c1e8d02c871168a8170634ee2b2051f Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 8 Jan 2015 20:30:35 +0100 Subject: dont check foreign css --- itjs.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itjs.class b/itjs.class index 5277472..2d055b4 100644 --- a/itjs.class +++ b/itjs.class @@ -154,7 +154,7 @@ static function filecontents($filenames, $execphp = true) foreach ($filenames as $filename) { ob_start(); # Needs to capture inside loop to guarantee file order - if (!(it::match('W3C_CSS_Validator', $_SERVER['HTTP_USER_AGENT']) && it::match('jquery-ui\.css', $filename))) + if (!($_GET['w3c'] && it::match('jquery-ui.css|owl.carousel.css|mobiscroll.custom', $filename))) { $origget = $_GET; list($filename, $paramstr) = explode("?", $filename); -- cgit v1.2.3