|
@@ 205-209 (lines=5) @@
|
| 202 |
|
$src = $this->config->get($configName . '.src.local'); |
| 203 |
|
$cdn = false; |
| 204 |
|
$attributes = $this->config->get($configName . '.attributes', []); |
| 205 |
|
if ($this->config->get($configName . '.use_cdn') && !$this->config->get('assets.offline')) { |
| 206 |
|
$src = $this->config->get($configName . '.src.cdn'); |
| 207 |
|
$cdn = true; |
| 208 |
|
$attributes = []; |
| 209 |
|
} |
| 210 |
|
|
| 211 |
|
if ($this->config->get($configName . '.include_style')) { |
| 212 |
|
$this->addStylesheets([$script]); |
|
@@ 264-267 (lines=4) @@
|
| 261 |
|
if ($this->config->has($configName)) { |
| 262 |
|
$src = $this->config->get($configName . '.src.local'); |
| 263 |
|
$attributes = $this->config->get($configName . '.attributes', []); |
| 264 |
|
if ($this->config->get($configName . '.use_cdn') && !$this->config->get('assets.offline')) { |
| 265 |
|
$src = $this->config->get($configName . '.src.cdn'); |
| 266 |
|
$attributes = []; |
| 267 |
|
} |
| 268 |
|
|
| 269 |
|
foreach ((array)$src as $s) { |
| 270 |
|
$stylesheets[] = [ |