mirror of
https://github.com/nextcloud/server.git
synced 2026-03-28 13:23:49 -04:00
Merge pull request #14941 from AdamWill/pipeline-apps
fall back to absolute path for pipelined assets (#14940)
This commit is contained in:
commit
a45e45df1e
1 changed files with 5 additions and 1 deletions
|
|
@ -242,7 +242,11 @@ class OC_TemplateLayout extends OC_Template {
|
|||
|
||||
private static function hashFileNames($files) {
|
||||
foreach($files as $i => $file) {
|
||||
$files[$i] = self::convertToRelativePath($file[0]).'/'.$file[2];
|
||||
try {
|
||||
$files[$i] = self::convertToRelativePath($file[0]).'/'.$file[2];
|
||||
} catch (\Exception $e) {
|
||||
$files[$i] = $file[0].'/'.$file[2];
|
||||
}
|
||||
}
|
||||
|
||||
sort($files);
|
||||
|
|
|
|||
Loading…
Reference in a new issue