summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-04-07 17:32:02 +0200
committerUrban Müller2016-04-07 17:32:02 +0200
commit0e83fefb5fac1601e4f485ae5a275f0f047c088b (patch)
tree5b8ad97832fbc5ed75eeb3fb69b6ac9d1cf78046
parent9bdd6c00fd40d47477c48affe14249e5bcac0ea6 (diff)
downloaditools-0e83fefb5fac1601e4f485ae5a275f0f047c088b.tar.gz
itools-0e83fefb5fac1601e4f485ae5a275f0f047c088b.tar.bz2
itools-0e83fefb5fac1601e4f485ae5a275f0f047c088b.zip
accept // urls
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index 7227541..05dccb6 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) : 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();