@@ 248-251 (lines=4) @@ | ||
245 | ||
246 | $attributes = array_get($this->config, $configName . '.attributes', []); |
|
247 | ||
248 | if (array_get($this->config, $configName . '.use_cdn') && !$this->config['offline']) { |
|
249 | $src = array_get($this->config, $configName . '.src.cdn'); |
|
250 | ||
251 | $attributes = []; |
|
252 | } |
|
253 | ||
254 | foreach ((array)$src as $s) { |
|
@@ 334-338 (lines=5) @@ | ||
331 | ||
332 | $attributes = array_get($this->config, $configName . '.attributes', []); |
|
333 | ||
334 | if (array_get($this->config, $configName . '.use_cdn') && !$this->config['offline']) { |
|
335 | $src = array_get($this->config, $configName . '.src.cdn'); |
|
336 | ||
337 | $cdn = true; |
|
338 | ||
339 | $attributes = []; |
|
340 | } |
|
341 | ||
@@ 410-412 (lines=3) @@ | ||
407 | if (array_has($this->config, $config)) { |
|
408 | $src = array_get($this->config, $config . '.src.local'); |
|
409 | ||
410 | if (array_get($this->config, $config . '.use_cdn') && !$this->config['offline']) { |
|
411 | $src = array_get($this->config, $config . '.src.cdn'); |
|
412 | } |
|
413 | ||
414 | if (!is_array($src)) { |
|
415 | $src = [$src]; |