mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
fix(lib): templates core path detection
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
443f489331
commit
8a7e2127c7
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ class Template extends Base implements ITemplate {
|
|||
*/
|
||||
protected function findTemplate(string $theme, string $app, string $name): array {
|
||||
// Check if it is a app template or not.
|
||||
if ($app !== '') {
|
||||
if ($app !== '' && $app !== 'core') {
|
||||
try {
|
||||
$appDir = Server::get(IAppManager::class)->getAppPath($app);
|
||||
} catch (AppPathNotFoundException) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue