summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
authorUrban Müller2015-01-08 20:30:35 +0100
committerUrban Müller2015-01-08 20:30:35 +0100
commit8a8305cb9c1e8d02c871168a8170634ee2b2051f (patch)
tree1bcbdf737d67a48d493423eb91ba8441880ec3a0 /itjs.class
parent88735768b9a0c4f41a5f8ed32c5c71c9d162c2b9 (diff)
downloaditools-8a8305cb9c1e8d02c871168a8170634ee2b2051f.tar.gz
itools-8a8305cb9c1e8d02c871168a8170634ee2b2051f.tar.bz2
itools-8a8305cb9c1e8d02c871168a8170634ee2b2051f.zip
dont check foreign css
Diffstat (limited to 'itjs.class')
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
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);