mirror of
https://github.com/getgrav/grav.git
synced 2026-07-05 19:08:05 +02:00
tidy up grav instance reference
This commit is contained in:
@@ -1363,7 +1363,7 @@ class TwigExtension extends AbstractExtension implements GlobalsInterface
|
||||
if ($exists) {
|
||||
return false;
|
||||
} else {
|
||||
return $this->config->get('theme.' . $var, $default);
|
||||
return Grav::instance()['config']->get('theme.' . $var, $default);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user