2018-10-05 16:13:30 +00:00
|
|
|
<?php
|
|
|
|
return [
|
|
|
|
'settings' => [
|
|
|
|
'displayErrorDetails' => true, // set to false in production
|
|
|
|
'addContentLengthHeader' => false, // Allow the web server to send the content-length header
|
|
|
|
'debug' => true,
|
|
|
|
'close_registration' => true,
|
|
|
|
|
|
|
|
// Renderer settings
|
|
|
|
'renderer' => [
|
|
|
|
'template_path' => __DIR__ . '/../templates/',
|
|
|
|
//'cache_path' => __DIR__.'/../templates/.cache/',
|
|
|
|
'cache_path' => false,
|
|
|
|
'autoreload' => true,
|
|
|
|
'debug' => true
|
|
|
|
],
|
|
|
|
|
|
|
|
// Monolog settings
|
|
|
|
'logger' => [
|
|
|
|
'name' => 'slim-app',
|
|
|
|
'path' => isset($_ENV['docker']) ? 'php://stdout' : __DIR__ . '/../logs/app.log',
|
|
|
|
'level' => \Monolog\Logger::DEBUG,
|
|
|
|
],
|
|
|
|
'db' => [
|
2018-10-05 17:10:29 +00:00
|
|
|
'path' => __DIR__."/../db/surfaces2018.db",
|
2018-10-05 16:13:30 +00:00
|
|
|
'schema' => __DIR__."/../db/schema.sql",
|
|
|
|
'load_schema' => __DIR__."/../db/.schema.lock"
|
|
|
|
],
|
|
|
|
'recaptcha' => [
|
|
|
|
'secret' => "6LesRDsUAAAAAA6t3UgL4U4Foc9njmXX-8HIiLj_",
|
|
|
|
'secret-test' => "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe",
|
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|