mirror of
https://github.com/getgrav/grav.git
synced 2026-01-29 10:50:04 +01:00
Fix theme:// path errors
This commit is contained in:
@@ -69,6 +69,9 @@ class DevToolsCommand extends ConsoleCommand
|
||||
$this->locator = $this->grav['locator'];
|
||||
$this->twig = new Twig($this->grav);
|
||||
$this->gpm = new GPM(true);
|
||||
|
||||
//Add `theme://` to prevent fail
|
||||
$this->locator->addPath('theme', '', []);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user