@@ 193-195 (lines=3) @@ | ||
190 | } |
|
191 | ||
192 | // Remove possible GET parameters from resource path |
|
193 | if (($getStart = stripos($url, '?')) !== false) { |
|
194 | $url = substr($url, 0, $getStart); |
|
195 | } |
|
196 | ||
197 | // Remove possible HASH parameters from resource path |
|
198 | if (($getStart = stripos($url, '#')) !== false) { |
|
@@ 198-200 (lines=3) @@ | ||
195 | } |
|
196 | ||
197 | // Remove possible HASH parameters from resource path |
|
198 | if (($getStart = stripos($url, '#')) !== false) { |
|
199 | $url = substr($url, 0, $getStart); |
|
200 | } |
|
201 | ||
202 | // Build path to static resource relatively to current resource file |
|
203 | $buildPath = dirname($this->cResource) . DIRECTORY_SEPARATOR . $url; |