diff options
author | Urban Müller | 2016-06-16 16:24:38 +0200 |
---|---|---|
committer | Urban Müller | 2016-06-16 16:24:38 +0200 |
commit | 482964d604565ba6aa57552a8bcd6c6d0b4e40e3 (patch) | |
tree | 3b9891b495f947bedea399fa0fddc2d7069ae871 /itjs.class | |
parent | 4b2022b809e37a10261fe49e1fd7ff59716151e8 (diff) | |
download | itools-482964d604565ba6aa57552a8bcd6c6d0b4e40e3.tar.gz itools-482964d604565ba6aa57552a8bcd6c6d0b4e40e3.tar.bz2 itools-482964d604565ba6aa57552a8bcd6c6d0b4e40e3.zip |
allow local loading (and php-interpretation) of .htc files
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |