fix settings object

This commit is contained in:
sabelo 2024-07-29 02:36:13 -03:00
parent 8fd40d3814
commit 62055021cb
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<?php
class DB{
private $pdo;
private $pdo=null;
public function __construct($dbpdo){

View File

@ -5,6 +5,7 @@ use Slim\Flash\Messages;
$container = new Container();
// $container = $app->getContainer();
$container->set('settings', function(){
return [
'displayErrorDetails' => true, // set to false in production
@ -22,7 +23,6 @@ $container->set('settings', function(){
'debug' => true
],
// Monolog settings
'db' => [
'path' => __DIR__."/../db/surfaces2018.db",