Skip to content

Commit de669e7

Browse files
skjnldsvbackportbot[bot]
authored andcommitted
fix(lib): templates core path detection
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 parent aa80d30 commit de669e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Template/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function __construct(
7373
*/
7474
protected function findTemplate(string $theme, string $app, string $name): array {
7575
// Check if it is a app template or not.
76-
if ($app !== '') {
76+
if ($app !== '' && $app !== 'core') {
7777
try {
7878
$appDir = Server::get(IAppManager::class)->getAppPath($app);
7979
} catch (AppPathNotFoundException) {

0 commit comments

Comments
 (0)