mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-15 18:39:20 +02:00
Fix install, where $twig is not present in tools
This commit is contained in:
parent
e45dd88a93
commit
3111d66df9
@ -122,7 +122,9 @@ try {
|
|||||||
|
|
||||||
$eloquentConnection = $capsule->getConnection();
|
$eloquentConnection = $capsule->getConnection();
|
||||||
|
|
||||||
|
if (isset($twig)) {
|
||||||
$twig->addGlobal('db', $db);
|
$twig->addGlobal('db', $db);
|
||||||
|
}
|
||||||
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
if(isset($cache) && $cache->enabled()) {
|
if(isset($cache) && $cache->enabled()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user