lib/private/Template/JSResourceLocator.php 1 location
|
@@ 38-40 (lines=3) @@
|
| 35 |
|
$themeDirectory = $this->theme->getDirectory(); |
| 36 |
|
$baseDirectory = $this->theme->getBaseDirectory(); |
| 37 |
|
$webRoot = ''; |
| 38 |
|
if ($baseDirectory !== $this->serverroot) { |
| 39 |
|
$webRoot = substr($this->theme->getWebPath(), 0, -strlen($themeDirectory)); |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
if (strpos($script, '/l10n/') !== false) { |
| 43 |
|
// For language files we try to load them all, so themes can overwrite |
lib/private/Template/CSSResourceLocator.php 1 location
|
@@ 59-61 (lines=3) @@
|
| 56 |
|
$themeDirectory = $this->theme->getDirectory(); |
| 57 |
|
$baseDirectory = $this->theme->getBaseDirectory(); |
| 58 |
|
$webRoot = ''; |
| 59 |
|
if ($baseDirectory !== $this->serverroot) { |
| 60 |
|
$webRoot = substr($this->theme->getWebPath(), 0, -strlen($themeDirectory)); |
| 61 |
|
} |
| 62 |
|
|
| 63 |
|
$searchLocations = [ |
| 64 |
|
$this->buildPath([$themeDirectory, 'apps', $fullStyle]), |