Merge branch '4.2' into 4.3

# Conflicts:
 #	src/View/ThemeResourceLoader.php
This commit is contained in:
Robbie Averill 2019-09-13 18:10:37 -07:00
commit 066ce8e01c

View File

@ -236,11 +236,15 @@ class ThemeResourceLoader implements Flushable
foreach ($themePaths as $themePath) { foreach ($themePaths as $themePath) {
// Join path // Join path
$pathParts = [ $this->base, $themePath, 'templates', $head, $type, $tail ]; $pathParts = [ $this->base, $themePath, 'templates', $head, $type, $tail ];
try {
$path = Path::join($pathParts) . '.ss'; $path = Path::join($pathParts) . '.ss';
if (file_exists($path)) { if (file_exists($path)) {
$this->getCache()->set($cacheKey, $path); $this->getCache()->set($cacheKey, $path);
return $path; return $path;
} }
} catch (InvalidArgumentException $e) {
// No-op
}
} }
} }