]> source.dussan.org Git - nextcloud-server.git/commit
fall back to absolute path for pipelined assets (#14940)
authorAdam Williamson <awilliam@redhat.com>
Tue, 17 Mar 2015 02:06:06 +0000 (19:06 -0700)
committerAdam Williamson <awilliam@redhat.com>
Tue, 17 Mar 2015 02:08:11 +0000 (19:08 -0700)
commitfa1be7d29663166194b1059e24d0e319abdb47cd
tree1184eb34dbcb8c7acf03cc669deeac92976fc220
parentfc0aa0b6ae8897aea7666a36de2350106eb9999c
fall back to absolute path for pipelined assets (#14940)

If the asset is, for example, in an apps directory that is
outside the $SERVERROOT, we won't be able to get a relative
path. We shouldn't just fail hard in this case. Fall back to
using the absolute path instead (as we used to).
lib/private/templatelayout.php