Fix install, where $twig is not present in tools

This commit is contained in:
slawkens 2025-05-14 14:09:28 +02:00
parent e45dd88a93
commit 3111d66df9

View File

@ -122,7 +122,9 @@ try {
$eloquentConnection = $capsule->getConnection();
if (isset($twig)) {
$twig->addGlobal('db', $db);
}
} catch (Exception $e) {
if(isset($cache) && $cache->enabled()) {