$db = new DB\SQL('sqlite:/database.sqlite');
$f3->route('GET /',
function() use($f3, $db){
$f3->set('category', $db->exec('SELECT * FROM `category`'));
echo Template::instance()->render('index.html');
}
);
Internal Server Error
Fatal error: Maximum function nesting level of '600' reached, aborting!
/lib/base.php:438