@@ 229-232 (lines=4) @@ | ||
226 | ||
227 | $attributes = array_get($this->config, $configName . '.attributes', []); |
|
228 | ||
229 | if (array_get($this->config, $configName . '.use_cdn') && !$this->config['offline']) { |
|
230 | $src = array_get($this->config, $configName . '.src.cdn'); |
|
231 | ||
232 | $attributes = []; |
|
233 | } |
|
234 | ||
235 | foreach ((array)$src as $s) { |
|
@@ 314-318 (lines=5) @@ | ||
311 | ||
312 | $attributes = array_get($this->config, $configName . '.attributes', []); |
|
313 | ||
314 | if (array_get($this->config, $configName . '.use_cdn') && !$this->config['offline']) { |
|
315 | $src = array_get($this->config, $configName . '.src.cdn'); |
|
316 | ||
317 | $cdn = true; |
|
318 | ||
319 | $attributes = []; |
|
320 | } |
|
321 | ||
@@ 383-385 (lines=3) @@ | ||
380 | if (array_has($this->config, $config)) { |
|
381 | $src = array_get($this->config, $config . '.src.local'); |
|
382 | ||
383 | if (array_get($this->config, $config . '.use_cdn') && !$this->config['offline']) { |
|
384 | $src = array_get($this->config, $config . '.src.cdn'); |
|
385 | } |
|
386 | ||
387 | foreach ((array)$src as $item) { |
|
388 | $html .= $this->{$type}($item, ['class' => 'hidden'])->toHtml(); |