summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-06-16 16:24:38 +0200
committerUrban Müller2016-06-16 16:24:38 +0200
commit482964d604565ba6aa57552a8bcd6c6d0b4e40e3 (patch)
tree3b9891b495f947bedea399fa0fddc2d7069ae871
parent4b2022b809e37a10261fe49e1fd7ff59716151e8 (diff)
downloaditools-482964d604565ba6aa57552a8bcd6c6d0b4e40e3.tar.gz
itools-482964d604565ba6aa57552a8bcd6c6d0b4e40e3.tar.bz2
itools-482964d604565ba6aa57552a8bcd6c6d0b4e40e3.zip
allow local loading (and php-interpretation) of .htc files
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
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();