From 0e83fefb5fac1601e4f485ae5a275f0f047c088b Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 7 Apr 2016 17:32:02 +0200 Subject: accept // urls --- itjs.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3