fix settings object
This commit is contained in:
parent
8fd40d3814
commit
62055021cb
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
class DB{
|
||||
private $pdo;
|
||||
private $pdo=null;
|
||||
|
||||
public function __construct($dbpdo){
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user