From 482964d604565ba6aa57552a8bcd6c6d0b4e40e3 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 16 Jun 2016 16:24:38 +0200 Subject: allow local loading (and php-interpretation) of .htc files --- itjs.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.class') diff --git a/itjs.class b/itjs.class index 05dccb6..50cc1b2 100644 --- a/itjs.class +++ b/itjs.class @@ -157,7 +157,7 @@ static function filecontents($filenames) list($filename, $paramstr) = explode("?", $filename); if ($paramstr) parse_str($paramstr, $_GET); - $result .= it::replace(array('^1$' => ""), it::match('\.(js|css)$', $filename) ? include_once($filename) : it_url::get($filename), array('utf8' => false)); + $result .= it::replace(array('^1$' => ""), it::match('\.(js|css|htc)$', $filename) ? include_once($filename) : it_url::get($filename), array('utf8' => false)); $_GET = $origget; } $result .= ob_get_clean(); -- cgit v1.2.3