mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
parent
428d2bcad8
commit
9632e62920
@ -1395,12 +1395,15 @@ class Controller
|
||||
if (File::exists($asset)) {
|
||||
$assets[] = $asset;
|
||||
break;
|
||||
} else {
|
||||
$asset = null;
|
||||
}
|
||||
}
|
||||
|
||||
// Skip combining missing assets and log an error
|
||||
Log::error("$file could not be found in any of the theme's sources (" . implode(', ', $sources) . ',');
|
||||
continue;
|
||||
if (is_null($asset)) {
|
||||
// Skip combining missing assets and log an error
|
||||
Log::error("$file could not be found in any of the theme's sources (" . implode(', ', $sources) . ',');
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Cache::put($cacheKey, $assets);
|
||||
|
Loading…
x
Reference in New Issue
Block a user