diff options
author | Urban Müller | 2018-06-21 16:12:20 +0200 |
---|---|---|
committer | Urban Müller | 2018-06-21 16:12:20 +0200 |
commit | 05e7ceefa1f0a29c665381b54ac882f260ae6c22 (patch) | |
tree | d9107f13ce76a21d77e8be2670f0b2e8d96f19e7 /itjs.class | |
parent | c8319c784267f81e2884a076365b8ca36f4ce0b2 (diff) | |
download | itools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.tar.gz itools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.tar.bz2 itools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.zip |
use safer it:: variants of file funcs
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,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|htc)$', $filename) ? include_once($filename) : (file_exists($filename) ? file_get_contents($filename) : it_url::get($filename)), array('utf8' => false)); + $result .= it::replace(array('^1$' => ""), it::match('\.(js|css|htc)$', $filename) ? include_once($filename) : (file_exists($filename) ? it::file_get_contents($filename) : it_url::get($filename)), array('utf8' => false)); $_GET = $origget; } $result .= ob_get_clean(); |