Fix theme:// path errors

This commit is contained in:
Tyler Cosgrove
2016-03-10 20:56:51 -05:00
parent 7d2f13f198
commit fbac9a6dcd

View File

@@ -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', '', []);
}
/**