From b614b1f7649f88742320e59ca5852875ee819419 Mon Sep 17 00:00:00 2001 From: sabelo Date: Mon, 29 Jul 2024 02:38:49 -0300 Subject: [PATCH] includes sqlite db file --- .gitignore | 3 --- db/.schema.lock | 0 db/surfaces2018.db | Bin 0 -> 20480 bytes src/settings.php | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 db/.schema.lock create mode 100644 db/surfaces2018.db create mode 100644 src/settings.php diff --git a/.gitignore b/.gitignore index 99e8f35..a763d3c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,3 @@ /logs/* !/logs/README.md /templates/.cache -db/surfaces2018.db -db/.schema.lock -src/settings.php diff --git a/db/.schema.lock b/db/.schema.lock new file mode 100644 index 0000000..e69de29 diff --git a/db/surfaces2018.db b/db/surfaces2018.db new file mode 100644 index 0000000000000000000000000000000000000000..fb9326e23d95f06ab34564d07ca98e84cadb7c35 GIT binary patch literal 20480 zcmeHPYiu0Xb)MPLgQP@LG9^*#^?HY(8_=jpe<6gK)WdVK+&Q_g9JrgplOQ)K?)=N5flxO z_B->~7l$tcE&_)GYF~3_?z!il=XcI%_3nafN@7{ltIQPB+!2oFxhYZPIF84^Gx+Bn z0em>(eZf1O-|OJH=nwz!C`R$Zk7?}l&f8v>9iBhrz##`deGZ)FNjH0hZ_`u*!jFX? z2|pBmAbeN&j_{H5mz=7w+aMS)IUiz-!rS}!Q^t^=>~P@3c_G6qmTbh;Fr z|Am*s3{l4!7k zM88LqiD+t6OpNC;W4T18e)TxW8p?vKS%<7eX6bTK*5)MDWNT_k(knVESq!L&VOk~p zdLTNh?(Jd~x?jv-`c$RLWF=PAst2KVG@Bb8tDi?0cOe>?3=Lg%sJ*E(wI~}!OMO$RLDXYbGxwt+DPKv9afQv@8b(4egFF7tI)46meml}U` zWPl3=BSV9sw8OqzmLfBieV%Q~lHTOk{Nn7&!s2Gh6}62=_UVJm8O@x`rN?v0Wc{cx zzy%|bk>OC>lQUw=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ux%elpWt=#Kv%2B [ + '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" + ], + + ], +];