diff options
author | Urban Müller | 2016-04-07 17:32:02 +0200 |
---|---|---|
committer | Urban Müller | 2016-04-07 17:32:02 +0200 |
commit | 0e83fefb5fac1601e4f485ae5a275f0f047c088b (patch) | |
tree | 5b8ad97832fbc5ed75eeb3fb69b6ac9d1cf78046 | |
parent | 9bdd6c00fd40d47477c48affe14249e5bcac0ea6 (diff) | |
download | itools-0e83fefb5fac1601e4f485ae5a275f0f047c088b.tar.gz itools-0e83fefb5fac1601e4f485ae5a275f0f047c088b.tar.bz2 itools-0e83fefb5fac1601e4f485ae5a275f0f047c088b.zip |
accept // urls
-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) : file_get_contents($filename), array('utf8' => false)); + $result .= it::replace(array('^1$' => ""), it::match('\.(js|css)$', $filename) ? include_once($filename) : it_url::get($filename), array('utf8' => false)); $_GET = $origget; } $result .= ob_get_clean(); |