includes sqlite db file
This commit is contained in:
parent
62055021cb
commit
b614b1f764
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,6 +2,3 @@
|
||||
/logs/*
|
||||
!/logs/README.md
|
||||
/templates/.cache
|
||||
db/surfaces2018.db
|
||||
db/.schema.lock
|
||||
src/settings.php
|
||||
|
0
db/.schema.lock
Normal file
0
db/.schema.lock
Normal file
BIN
db/surfaces2018.db
Normal file
BIN
db/surfaces2018.db
Normal file
Binary file not shown.
38
src/settings.php
Normal file
38
src/settings.php
Normal file
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
return [
|
||||
'settings' => [
|
||||
'displayErrorDetails' => true, // set to false in production
|
||||
'addContentLengthHeader' => false, // Allow the web server to send the content-length header
|
||||
'debug' => false,
|
||||
'testing' => false,
|
||||
'close_registration' => false,
|
||||
|
||||
// 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' => [
|
||||
'path' => __DIR__."/../db/surfaces2018.db",
|
||||
'schema' => __DIR__."/../db/schema.sql",
|
||||
'load_schema' => __DIR__."/../db/.schema.lock"
|
||||
],
|
||||
'recaptcha' => [
|
||||
'secret' => "6LesRDsUAAAAAA6t3UgL4U4Foc9njmXX-8HIiLj_",
|
||||
'secrettest' => "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe",
|
||||
'sitekey' => "6LesRDsUAAAAAJvyoODvjiza9u75qEGJmbKHEV6s",
|
||||
'sitekeytest' => "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"
|
||||
],
|
||||
|
||||
],
|
||||
];
|
Loading…
Reference in New Issue
Block a user