diff --git a/src/dependencies.php b/src/dependencies.php index 521124f..a8f467f 100644 --- a/src/dependencies.php +++ b/src/dependencies.php @@ -9,7 +9,8 @@ $container->set('settings', function(){ return [ 'displayErrorDetails' => true, // set to false in production 'addContentLengthHeader' => false, // Allow the web server to send the content-length header - 'debug' => true, + 'debug' => false, + 'testing' => false, 'close_registration' => true, // Renderer settings @@ -22,20 +23,19 @@ $container->set('settings', function(){ ], // Monolog settings - 'logger' => [ - 'name' => 'slim-app', - 'path' => isset($_ENV['docker']) ? 'php://stdout' : __DIR__ . '/../logs/app.log', - 'level' => \Monolog\Logger::DEBUG, - ], + 'db' => [ - 'path' => __DIR__."/../db/ggdworkshop.db", + 'path' => __DIR__."/../db/surfaces2018.db", 'schema' => __DIR__."/../db/schema.sql", 'load_schema' => __DIR__."/../db/.schema.lock" ], 'recaptcha' => [ 'secret' => "6LesRDsUAAAAAA6t3UgL4U4Foc9njmXX-8HIiLj_", - 'secret-test' => "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe", + 'secrettest' => "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe", + 'sitekey' => "6LesRDsUAAAAAJvyoODvjiza9u75qEGJmbKHEV6s", + 'sitekeytest' => "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI" ], + ]; });